ruby-changes:34367
From: ko1 <ko1@a...>
Date: Mon, 16 Jun 2014 19:01:58 +0900 (JST)
Subject: [ruby-changes:34367] ko1:r46448 (trunk): * test/runner.rb: failure message should be passed as an argument.
ko1 2014-06-16 19:01:44 +0900 (Mon, 16 Jun 2014) New Revision: 46448 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46448 Log: * test/runner.rb: failure message should be passed as an argument. Modified files: trunk/ChangeLog trunk/test/runner.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 46447) +++ ChangeLog (revision 46448) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Jun 16 19:00:11 2014 Koichi Sasada <ko1@a...> + + * test/runner.rb: failure message should be passed as an argument. + Mon Jun 16 18:42:57 2014 Koichi Sasada <ko1@a...> * test/runner.rb: capture TracePoint stat before setup and compare Index: test/runner.rb =================================================================== --- test/runner.rb (revision 46447) +++ test/runner.rb (revision 46448) @@ -29,9 +29,11 @@ module Test::Unit https://github.com/ruby/ruby/blob/trunk/test/runner.rb#L29 assert_empty(Process.waitall) # detect zombie traces. - assert_equal @@tracepoint_captured_stat, TracePoint.stat.map{|k, (activated, deleted)| [k, activated]} do + assert_equal( + @@tracepoint_captured_stat, + TracePoint.stat.map{|k, (activated, deleted)| [k, activated]}, "The number of active trace events was changed" - end + ) # puts "TracePoint - deleted: #{deleted}" if deleted > 0 end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/