summaryrefslogtreecommitdiff
path: root/test/ruby/test_settracefunc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_settracefunc.rb')
-rw-r--r--test/ruby/test_settracefunc.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb
index ac9f9050f9..b13eea09bd 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -285,11 +285,9 @@ class TestSetTraceFunc < Test::Unit::TestCase
[["c-return", 1, :set_trace_func, Kernel],
["line", 4, __method__, self.class],
- ["c-call", 4, :any?, Enumerable],
- ["c-call", 4, :each, Array],
+ ["c-call", 4, :any?, Array],
["line", 4, __method__, self.class],
- ["c-return", 4, :each, Array],
- ["c-return", 4, :any?, Enumerable],
+ ["c-return", 4, :any?, Array],
["line", 5, __method__, self.class],
["c-call", 5, :set_trace_func, Kernel]].each{|e|
assert_equal(e, events.shift)