From 5a83ce3f1529909855dc3ede8090a917fcea2743 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 14 Jun 2014 21:54:11 +0000 Subject: [PATCH] runner.rb: include event name * test/runner.rb (after_teardown): include active trace event name in the failure message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner.rb b/test/runner.rb index e7bff26e8c..c1eae3540a 100644 --- a/test/runner.rb +++ b/test/runner.rb @@ -25,7 +25,7 @@ module Test::Unit # detect zombie traces. TracePoint.stat.each{|key, (activated, deleted)| - assert_equal(0, activated, 'The number of active trace events should be zero.') + assert_equal(0, activated, "The number of active trace events (#{key}) should be zero.") # puts "TracePoint - deleted: #{deleted}" if deleted > 0 } end