summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-24 01:41:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-24 01:41:15 +0000
commit28a8188e4d8af61ce94554743706d3eee2d1189a (patch)
tree1020412491452d1da0a02c8a1aeb1659125367e0 /test
parent7320d83753d90ff7fcc78567589f1eb52a7de9a0 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_specification.rb2
1 files changed, 1 insertions, 1 deletions
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