From 28a8188e4d8af61ce94554743706d3eee2d1189a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 24 Apr 2012 01:41:15 +0000 Subject: [PATCH] fix condition to set yaml engine * test/rubygems/test_gem_specification.rb (test_to_yaml_emits_syck_compat_yaml): fix condition to set yaml engine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rubygems/test_gem_specification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index c19d364c66..f4d4f6a381 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -1209,7 +1209,7 @@ end end def test_to_yaml_emits_syck_compat_yaml - if YAML.const_defined?(:ENGINE) && !YAML::ENGINE.syck? + if YAML.const_defined?(:ENGINE) && YAML::ENGINE.syck? yamler, YAML::ENGINE.yamler = YAML::ENGINE.yamler, 'psych' end begin