diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-29 13:12:36 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-29 13:12:36 +0000 |
commit | 22113b1babc0dba9f616fb5b9eff14d7f6f8342f (patch) | |
tree | 596b54e6f2afc7bc8987afc2f6a506ca1293ac8d /test | |
parent | 13bc74fa748d2d947ee16f9a7436d374ced09db3 (diff) |
Use Syck module after it is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/syck/test_yamlstore.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/syck/test_yamlstore.rb b/test/syck/test_yamlstore.rb index e87162594c..932e28152a 100644 --- a/test/syck/test_yamlstore.rb +++ b/test/syck/test_yamlstore.rb @@ -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' |