From 0ffb18de451c5e4f06af9510bf7be4ae272d176d Mon Sep 17 00:00:00 2001 From: mame Date: Thu, 22 Apr 2010 14:02:09 +0000 Subject: * bootstraptest/test_thread.rb: fix test. [Bug #2342] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_thread.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstraptest') diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb index a7478fcd2c..56c77259cf 100644 --- a/bootstraptest/test_thread.rb +++ b/bootstraptest/test_thread.rb @@ -174,9 +174,9 @@ assert_equal %q{[true, nil, true]}, %q{ $a = $~ Thread.new{ $b = $~ - /a/ =~ 'a' + /b/ =~ 'b' $c = $~ - } + }.join $d = $~ [$a == $d, $b, $c != $d] } -- cgit v1.2.3