From 349f6a3275abb0b59d35df44c3d786a4af58449e Mon Sep 17 00:00:00 2001 From: normal Date: Tue, 11 Dec 2018 09:49:26 +0000 Subject: test/dtrace: improve diagnostics These will help us track down test failures more easily (on FreeBSD 11.2) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/dtrace/test_function_entry.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/dtrace/test_function_entry.rb') diff --git a/test/dtrace/test_function_entry.rb b/test/dtrace/test_function_entry.rb index 2fac424fe4..0030560d54 100644 --- a/test/dtrace/test_function_entry.rb +++ b/test/dtrace/test_function_entry.rb @@ -17,7 +17,7 @@ ruby$target:::method-entry row.first == 'Foo' && row[1] == 'foo' } - assert_equal 10, foo_calls.length + assert_equal 10, foo_calls.length, probes line = '3' foo_calls.each { |f| assert_equal line, f[3] } foo_calls.each { |f| assert_equal rb_file, f[2] } @@ -38,7 +38,7 @@ ruby$target:::method-return row.first == 'Foo' && row[1] == 'foo' } - assert_equal 10, foo_calls.length + assert_equal 10, foo_calls.length, probes.inspect line = '3' foo_calls.each { |f| assert_equal line, f[3] } foo_calls.each { |f| assert_equal rb_file, f[2] } -- cgit v1.2.3