Skip to content

Commit

Permalink
Use ::Syck explicitly.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nurse committed Jul 27, 2011
1 parent 55b81eb commit e29d589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/psych/test_engine_manager.rb
Expand Up @@ -21,7 +21,7 @@ def test_set_psych

def test_set_syck
YAML::ENGINE.yamler = 'syck'
assert_equal Syck, YAML
assert_equal ::Syck, YAML
assert_equal 'syck', YAML::ENGINE.yamler
end

Expand Down

0 comments on commit e29d589

Please sign in to comment.