aboutsummaryrefslogtreecommitdiffstats
path: root/test/runner.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-14 21:54:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-14 21:54:11 +0000
commit5a83ce3f1529909855dc3ede8090a917fcea2743 (patch)
treeedf284fc25fd3defa21b26d15ae85e65d8337dab /test/runner.rb
parentba4ac50a2dc6c47e3c223da0478ed38cce45c52d (diff)
downloadruby-5a83ce3f1529909855dc3ede8090a917fcea2743.tar.gz
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
Diffstat (limited to 'test/runner.rb')
-rw-r--r--test/runner.rb2
1 files changed, 1 insertions, 1 deletions
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