mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
suppress warnings: unused variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2db397b4de
commit
e4d4172bef
1 changed files with 1 additions and 1 deletions
|
@ -1158,6 +1158,6 @@ q.pop
|
||||||
def test_thread_setname_in_initialize
|
def test_thread_setname_in_initialize
|
||||||
bug12290 = '[ruby-core:74963] [Bug #12290]'
|
bug12290 = '[ruby-core:74963] [Bug #12290]'
|
||||||
c = Class.new(Thread) {def initialize() self.name = "foo"; super; end}
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue