diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-22 14:02:09 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-22 14:02:09 +0000 |
commit | 0ffb18de451c5e4f06af9510bf7be4ae272d176d (patch) | |
tree | 542aaa69a340e0c4a0c9a0c07c1d630648cb8b05 /bootstraptest | |
parent | 14e5c442c50e2e7fc5a526b0a93ef2e98e74a0f6 (diff) | |
download | ruby-0ffb18de451c5e4f06af9510bf7be4ae272d176d.tar.gz |
* 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')
-rw-r--r-- | bootstraptest/test_thread.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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] } |