aboutsummaryrefslogtreecommitdiffstats
path: root/test/dtrace/test_singleton_function.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/dtrace/test_singleton_function.rb')
-rw-r--r--test/dtrace/test_singleton_function.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dtrace/test_singleton_function.rb b/test/dtrace/test_singleton_function.rb
index 06f070913b..4b5d3d7f18 100644
--- a/test/dtrace/test_singleton_function.rb
+++ b/test/dtrace/test_singleton_function.rb
@@ -13,7 +13,7 @@ ruby$target:::method-entry
trap_probe(probe, ruby_program) { |d_file, rb_file, probes|
foo_calls = probes.map { |line| line.split }.find_all { |row|
- row.first == '#<Class:Foo>' && row[1] == 'foo'
+ row.first == 'Foo' && row[1] == 'foo'
}
assert_equal 10, foo_calls.length
@@ -33,7 +33,7 @@ ruby$target:::method-return
trap_probe(probe, ruby_program) { |d_file, rb_file, probes|
foo_calls = probes.map { |line| line.split }.find_all { |row|
- row.first == '#<Class:Foo>' && row[1] == 'foo'
+ row.first == 'Foo' && row[1] == 'foo'
}
assert_equal 10, foo_calls.length