From 22113b1babc0dba9f616fb5b9eff14d7f6f8342f Mon Sep 17 00:00:00 2001 From: naruse Date: Fri, 29 Jun 2012 13:12:36 +0000 Subject: Use Syck module after it is defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/syck/test_yamlstore.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/syck') 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' -- cgit v1.2.3