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

* test/ruby/test_thread.rb (test_thread_local_security): Don't create

an unused thread.




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-06-13 09:54:02 +00:00
parent db3b317ca7
commit 3e3080ef58
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu Jun 13 18:53:14 2013 Tanaka Akira <akr@fsij.org>
* test/ruby/test_thread.rb (test_thread_local_security): Don't create
an unused thread.
Thu Jun 13 18:34:20 2013 Tanaka Akira <akr@fsij.org>
* bignum.c (bigdivrem): Use nlz.

View file

@ -382,8 +382,6 @@ class TestThread < Test::Unit::TestCase
end
def test_thread_local_security
t = Thread.new { sleep }
assert_raise(RuntimeError) do
Thread.new do
Thread.current[:foo] = :bar