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

ruby-changes:29837

From: naruse <ko1@a...>
Date: Wed, 10 Jul 2013 16:46:09 +0900 (JST)
Subject: [ruby-changes:29837] naruse:r41889 (trunk): fix test failure introduced at r41873

naruse	2013-07-10 16:45:58 +0900 (Wed, 10 Jul 2013)

  New Revision: 41889

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

  Log:
    fix test failure introduced at r41873
    
    it needs switching windows or othres because lib/rubygems/test_case.rb:283
    switches the platform string.

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

Index: test/rubygems/test_gem_specification.rb
===================================================================
--- test/rubygems/test_gem_specification.rb	(revision 41888)
+++ test/rubygems/test_gem_specification.rb	(revision 41889)
@@ -1612,7 +1612,7 @@ end https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_specification.rb#L1612
 
     expected = <<-SPEC
 # -*- encoding: utf-8 -*-
-# stub: a 1 x86-darwin-8 lib
+# stub: a 1 #{win_platform? ? "x86-mswin32-60" : "x86-darwin-8"} lib
 
 Gem::Specification.new do |s|
   s.name = "a"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

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