diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_settracefunc.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb index c098e548b..a446969f3 100644 --- a/test/ruby/test_settracefunc.rb +++ b/test/ruby/test_settracefunc.rb @@ -60,7 +60,7 @@ class TestSetTraceFunc < Test::Unit::TestCase events.shift) assert_equal(["line", 7, __method__, self.class], events.shift) - assert_equal(["call", 6, :add, self.class], + assert_equal(["call", 4, :add, self.class], events.shift) assert_equal(["line", 5, :add, self.class], events.shift) @@ -68,7 +68,7 @@ class TestSetTraceFunc < Test::Unit::TestCase events.shift) assert_equal(["c-return", 5, :+, Fixnum], events.shift) - assert_equal(["return", 6, :add, self.class], + assert_equal(["return", 4, :add, self.class], events.shift) assert_equal(["line", 8, __method__, self.class], events.shift) @@ -118,9 +118,9 @@ class TestSetTraceFunc < Test::Unit::TestCase events.shift) assert_equal(["c-return", 8, :new, Class], events.shift) - assert_equal(["call", 6, :bar, Foo], + assert_equal(["call", 5, :bar, Foo], events.shift) - assert_equal(["return", 6, :bar, Foo], + assert_equal(["return", 5, :bar, Foo], events.shift) assert_equal(["line", 9, __method__, self.class], events.shift) |