diff --git a/test/console/backtrace_test.rb b/test/console/backtrace_test.rb index 3f926aebb..570d66c80 100644 --- a/test/console/backtrace_test.rb +++ b/test/console/backtrace_test.rb @@ -22,7 +22,7 @@ def program 14| end 15| end 16| - 17| [1, 2, 3].each do + 17| [1, 2, 3].reverse_each do 18| Foo.new.first_call 19| end RUBY @@ -33,7 +33,7 @@ def test_backtrace_prints_c_method_frame type 'b 18' type 'c' type 'bt' - assert_line_text(/\[C\] Array#each/) + assert_line_text(/\[C\] Array#reverse_each/) type 'kill!' end end