[前][次][番号順一覧][スレッド一覧]

ruby-changes:23390

From: nobu <ko1@a...>
Date: Mon, 23 Apr 2012 22:49:01 +0900 (JST)
Subject: [ruby-changes:23390] nobu:r35441 (trunk): ignore unnecessary test

nobu	2012-04-23 22:48:43 +0900 (Mon, 23 Apr 2012)

  New Revision: 35441

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35441

  Log:
    ignore unnecessary test
    
    * test/rubygems/test_gem_specification.rb (test_emits_zulu_timestamps_properly):
      ignore unnecessary test.

  Modified files:
    trunk/test/rubygems/test_gem_specification.rb

Index: test/rubygems/test_gem_specification.rb
===================================================================
--- test/rubygems/test_gem_specification.rb	(revision 35440)
+++ test/rubygems/test_gem_specification.rb	(revision 35441)
@@ -419,15 +419,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/

[前][次][番号順一覧][スレッド一覧]