aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_settracefunc.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb
index 3132636e18..855b904e36 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -1153,8 +1153,8 @@ class TestSetTraceFunc < Test::Unit::TestCase
}
assert_equal([
[:call, :size],
- [:c_call, :original_size],
- [:c_return, :original_size],
+ [:c_call, :size],
+ [:c_return, :size],
[:return, :size]
], events, "should use alias method name for tracing c methods")
end
@@ -1287,7 +1287,7 @@ class TestSetTraceFunc < Test::Unit::TestCase
}.enable{
p 1
}
- }, %w[:p :inspect 1], [], '[Bug #9940]')
+ }, %w[:p :to_s 1], [], '[Bug #9940]')
end
def method_prefix event