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
1 changed files with 1 additions and 1 deletions

View File

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