From 0efa7abc40cb8008c030ca65c6ad404a81cf19e9 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 1 Dec 2012 13:54:57 +0000 Subject: [PATCH] * test/rubygems/test_gem_specification.rb (test_emits_zulu_timestamps_properly): too old bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rubygems/test_gem_specification.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index fa2f0cef75..f8b713c5c7 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -436,15 +436,13 @@ dependencies: [] end def test_emits_zulu_timestamps_properly - skip "bug only on 1.9.2" unless RUBY_VERSION =~ /1\.9\.2/ - t = Time.utc(2012, 3, 12) @a2.date = t yaml = with_psych { @a2.to_yaml } assert_match %r!date: 2012-03-12 00:00:00\.000000000 Z!, yaml - end + end if RUBY_VERSION =~ /1\.9\.2/ def test_initialize spec = Gem::Specification.new do |s|