mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Use Syck module after it is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
13bc74fa74
commit
22113b1bab
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@ require 'test/unit'
|
|||
require 'yaml/store'
|
||||
require 'tmpdir'
|
||||
|
||||
Syck::Store = YAML::Store unless defined?(Syck::Store)
|
||||
|
||||
module Syck
|
||||
Store = YAML::Store unless defined?(Store)
|
||||
|
||||
class YAMLStoreTest < Test::Unit::TestCase
|
||||
def setup
|
||||
@engine, YAML::ENGINE.yamler = YAML::ENGINE.yamler, 'syck'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue