Skip to content

Commit

Permalink
Stop assuming Integer#times is written in C
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun authored and ko1 committed Sep 21, 2023
1 parent 0462225 commit 5eba4e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/console/backtrace_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def program
14| end
15| end
16|
17| 3.times do
17| [1, 2, 3].each do
18| Foo.new.first_call
19| end
RUBY
Expand All @@ -33,7 +33,7 @@ def test_backtrace_prints_c_method_frame
type 'b 18'
type 'c'
type 'bt'
assert_line_text(/\[C\] Integer#times/)
assert_line_text(/\[C\] Array#each/)
type 'kill!'
end
end
Expand Down

0 comments on commit 5eba4e9

Please sign in to comment.