diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_settracefunc.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb index 7e099401f5..169d6716f4 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 |