ruby-changes:43535
From: naruse <ko1@a...>
Date: Fri, 8 Jul 2016 03:59:44 +0900 (JST)
Subject: [ruby-changes:43535] naruse:r55608 (trunk): suppress warnings: unused variables
naruse 2016-07-08 03:59:38 +0900 (Fri, 08 Jul 2016) New Revision: 55608 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55608 Log: suppress warnings: unused variables Modified files: trunk/test/ruby/test_thread.rb Index: test/ruby/test_thread.rb =================================================================== --- test/ruby/test_thread.rb (revision 55607) +++ test/ruby/test_thread.rb (revision 55608) @@ -1158,6 +1158,6 @@ q.pop https://github.com/ruby/ruby/blob/trunk/test/ruby/test_thread.rb#L1158 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/