Skip to content

Commit ee59c85

Browse files
tompngko1
authored andcommittedDec 17, 2024·
Prompt assertion should use assert_raw_line_text instead of assert_line_text
1 parent 07df517 commit ee59c85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/console/irb_test.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_irb_command_switches_console_to_irb
4747
debug_code(program, remote: false) do
4848
type 'irb'
4949
type '123'
50-
assert_line_text 'irb:rdbg(main):002> 123'
50+
assert_raw_line_text 'irb:rdbg(main):002> 123'
5151
type 'irb_info'
5252
assert_line_text('IRB version:')
5353
type 'next'
@@ -67,7 +67,7 @@ def test_irb_console_config_activates_irb
6767

6868
debug_code(program, remote: false) do
6969
type '123'
70-
assert_line_text 'irb:rdbg(main):002> 123'
70+
assert_raw_line_text 'irb:rdbg(main):002> 123'
7171
type 'irb_info'
7272
assert_line_text('IRB version:')
7373
type 'next'

0 commit comments

Comments
 (0)
Please sign in to comment.