Skip to content

Commit

Permalink
Prompt assertion should use assert_raw_line_text instead of assert_li…
Browse files Browse the repository at this point in the history
…ne_text
  • Loading branch information
tompng committed May 3, 2024
1 parent 0b77e82 commit c384050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/console/irb_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_irb_command_switches_console_to_irb
debug_code(program, remote: false) do
type 'irb'
type '123'
assert_line_text 'irb:rdbg(main):002> 123'
assert_raw_line_text 'irb:rdbg(main):002> 123'
type 'irb_info'
assert_line_text('IRB version:')
type 'next'
Expand All @@ -67,7 +67,7 @@ def test_irb_console_config_activates_irb

debug_code(program, remote: false) do
type '123'
assert_line_text 'irb:rdbg(main):002> 123'
assert_raw_line_text 'irb:rdbg(main):002> 123'
type 'irb_info'
assert_line_text('IRB version:')
type 'next'
Expand Down

0 comments on commit c384050

Please sign in to comment.