summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-27 01:53:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-27 01:53:47 +0000
commit8e683a8a97dedf214b894dfa4391954dac766518 (patch)
treea3ddd9d300257e2db45c3517d471230c8886187f /test
parent90080e3a2efa4443fce2c3f8201fbc62bb356a3c (diff)
* test/rubygems/test_gem_specification.rb (test_self_from_yaml_syck_default_key_bug):
ignore the test for too old versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_specification.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index a5d5baaa8e..d63b9bd30e 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -129,7 +129,6 @@ end
end
def test_self_from_yaml_syck_default_key_bug
- skip 'syck default_key bug is only for ruby 1.8' unless RUBY_VERSION < '1.9'
# This is equivalent to (and totally valid) psych 1.0 output and
# causes parse errors on syck.
yaml = <<-YAML
@@ -161,7 +160,7 @@ bindir:
end
refute_match %r%DefaultKey%, new_spec.to_ruby
- end
+ end if RUBY_VERSION < '1.9'
def test_self_load
full_path = @a2.spec_file