diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-13 09:54:02 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-13 09:54:02 +0000 |
commit | 3e3080ef5854ac6a0ae8cc18d2cffd3832afa35b (patch) | |
tree | 384f1ffddbbc7613bc1c1d879b00747cbe6b5a3a | |
parent | db3b317ca74c075e49264bf21b71a85280a26890 (diff) |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_thread.rb | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -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. diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 46831f3c46..6f33a120f7 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -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 |