File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def program
2222 14| end
2323 15| end
2424 16|
25- 17| [1, 2, 3].each do
25+ 17| [1, 2, 3].reverse_each do
2626 18| Foo.new.first_call
2727 19| end
2828 RUBY
@@ -33,7 +33,7 @@ def test_backtrace_prints_c_method_frame
3333 type 'b 18'
3434 type 'c'
3535 type 'bt'
36- assert_line_text ( /\[ C\] Array#each / )
36+ assert_line_text ( /\[ C\] Array#reverse_each / )
3737 type 'kill!'
3838 end
3939 end
Original file line number Diff line number Diff line change @@ -384,11 +384,11 @@ def test_break_only_stops_when_path_matches
384384 class BreakAtCMethod2Test < ConsoleTestCase
385385 def program
386386 <<~RUBY
387- 1| binding.b(do: "b Array#each ")
387+ 1| binding.b(do: "b Array#reverse_each ")
388388 2|
389389 3| result = ""
390390 4|
391- 5| [1, 2, 3].each do |i|
391+ 5| [1, 2, 3].reverse_each do |i|
392392 6| result += i.to_s
393393 7| end
394394 8|
You can’t perform that action at this time.
0 commit comments