ruby-changes:22778
From: nobu <ko1@a...>
Date: Mon, 27 Feb 2012 10:54:14 +0900 (JST)
Subject: [ruby-changes:22778] nobu:r34827 (trunk): * test/rubygems/test_gem_specification.rb (test_self_from_yaml_syck_default_key_bug):
nobu 2012-02-27 10:53:47 +0900 (Mon, 27 Feb 2012) New Revision: 34827 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34827 Log: * test/rubygems/test_gem_specification.rb (test_self_from_yaml_syck_default_key_bug): ignore the test for too old versions. Modified files: trunk/ChangeLog trunk/test/rubygems/test_gem_specification.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 34826) +++ ChangeLog (revision 34827) @@ -1,3 +1,8 @@ +Mon Feb 27 10:53:44 2012 Nobuyoshi Nakada <nobu@r...> + + * 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@r...> * lib/test/unit.rb (Test::Unit::Runner#puke): skips with no Index: test/rubygems/test_gem_specification.rb =================================================================== --- test/rubygems/test_gem_specification.rb (revision 34826) +++ test/rubygems/test_gem_specification.rb (revision 34827) @@ -129,7 +129,6 @@ 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 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/