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

ruby-changes:15542

From: mame <ko1@a...>
Date: Thu, 22 Apr 2010 23:02:26 +0900 (JST)
Subject: [ruby-changes:15542] Ruby:r27445 (trunk): * bootstraptest/test_thread.rb: fix test. [Bug #2342]

mame	2010-04-22 23:02:09 +0900 (Thu, 22 Apr 2010)

  New Revision: 27445

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

  Log:
    * bootstraptest/test_thread.rb: fix test.  [Bug #2342]

  Modified files:
    trunk/ChangeLog
    trunk/bootstraptest/test_thread.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27444)
+++ ChangeLog	(revision 27445)
@@ -1,3 +1,7 @@
+Thu Apr 22 22:56:42 2010  Yusuke Endoh  <mame@t...>
+
+	* bootstraptest/test_thread.rb: fix test.  [Bug #2342]
+
 Thu Apr 22 21:50:17 2010  Keiju Ishitsuka  <keiju@r...>
 
 	* lib/irb/ext/multi-irb.rb: fix multi-irb running
Index: bootstraptest/test_thread.rb
===================================================================
--- bootstraptest/test_thread.rb	(revision 27444)
+++ bootstraptest/test_thread.rb	(revision 27445)
@@ -174,9 +174,9 @@
   $a = $~
   Thread.new{
     $b = $~
-    /a/ =~ 'a'
+    /b/ =~ 'b'
     $c = $~
-  }
+  }.join
   $d = $~
   [$a == $d, $b, $c != $d]
 }

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

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