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

* 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
This commit is contained in:
nobu 2012-02-27 01:53:47 +00:00
parent 90080e3a2e
commit 8e683a8a97
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Mon Feb 27 10:53:44 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/rubygems/test_gem_specification.rb (test_self_from_yaml_syck_default_key_bug):
ignore the test for too old versions.
Mon Feb 27 10:53:12 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/test/unit.rb (Test::Unit::Runner#puke): skips with no

View file

@ -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