summaryrefslogtreecommitdiff
path: root/bootstraptest/test_thread.rb
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-22 14:02:09 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-22 14:02:09 +0000
commit0ffb18de451c5e4f06af9510bf7be4ae272d176d (patch)
tree542aaa69a340e0c4a0c9a0c07c1d630648cb8b05 /bootstraptest/test_thread.rb
parent14e5c442c50e2e7fc5a526b0a93ef2e98e74a0f6 (diff)
* 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
Diffstat (limited to 'bootstraptest/test_thread.rb')
-rw-r--r--bootstraptest/test_thread.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index a7478fc..56c7725 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]
}