diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-07 18:59:38 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-07 18:59:38 +0000 |
commit | e4d4172befce67da1b7ef54848f2acd7c1febc72 (patch) | |
tree | 76ceb94839b8d4fe19769c845ad71f074d255052 /test/ruby/test_thread.rb | |
parent | 2db397b4dee447c47c6cd5402743806263a17aae (diff) | |
download | ruby-e4d4172befce67da1b7ef54848f2acd7c1febc72.tar.gz |
suppress warnings: unused variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_thread.rb')
-rw-r--r-- | test/ruby/test_thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index c977d17ecc..d1390d2bfa 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -1158,6 +1158,6 @@ q.pop def test_thread_setname_in_initialize bug12290 = '[ruby-core:74963] [Bug #12290]' c = Class.new(Thread) {def initialize() self.name = "foo"; super; end} - assert_equal("foo", c.new {Thread.current.name}.value) + assert_equal("foo", c.new {Thread.current.name}.value, bug12290) end end |