1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use ::Syck explicitly.

lib/rubygems/requirement.rb defines YAML::Syck.
So explicitly specify the top level one.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-07-27 05:21:33 +00:00
parent 55b81eb9e6
commit e29d58970b

View file

@ -21,7 +21,7 @@ module Psych
def test_set_syck
YAML::ENGINE.yamler = 'syck'
assert_equal Syck, YAML
assert_equal ::Syck, YAML
assert_equal 'syck', YAML::ENGINE.yamler
end