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