1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

wait until the thread is stopped.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-09-21 04:54:46 +00:00
parent 39fd4a87e8
commit 34ac0ea7bf

View file

@ -85,7 +85,7 @@ assert_equal %q{ok}, %q{
ans = :ok ans = :ok
end end
} }
Thread.pass Thread.pass until t.stop?
t.kill t.kill
t.join t.join
ans ans