ruby-changes:26068
From: nobu <ko1@a...>
Date: Sat, 1 Dec 2012 22:55:04 +0900 (JST)
Subject: [ruby-changes:26068] nobu:r38125 (trunk): * test/rubygems/test_gem_specification.rb (test_emits_zulu_timestamps_properly): too old bug.
nobu 2012-12-01 22:54:57 +0900 (Sat, 01 Dec 2012) New Revision: 38125 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38125 Log: * test/rubygems/test_gem_specification.rb (test_emits_zulu_timestamps_properly): too old bug. Modified files: trunk/test/rubygems/test_gem_specification.rb Index: test/rubygems/test_gem_specification.rb =================================================================== --- test/rubygems/test_gem_specification.rb (revision 38124) +++ test/rubygems/test_gem_specification.rb (revision 38125) @@ -436,15 +436,13 @@ 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| -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/