Skip to content

Commit bc97d33

Browse files
committed
add a test for b path: ...
1 parent 1139d78 commit bc97d33

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/console/break_test.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,17 @@ def test_break_only_stops_when_path_matches
255255
end
256256
end
257257

258+
def test_break_only_path
259+
with_extra_tempfile "foohtml" do |extra_file|
260+
debug_code(program(extra_file.path)) do
261+
type "break path: #{extra_file.path}"
262+
type 'c'
263+
assert_line_text(/#{extra_file.path}/)
264+
type 'c'
265+
end
266+
end
267+
end
268+
258269
def test_the_path_option_supersede_skip_path_config
259270
# skips the extra_file's breakpoint
260271
with_extra_tempfile do |extra_file|

0 commit comments

Comments
 (0)