Skip to content

Commit

Permalink
Debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Aug 21, 2023
1 parent b85375b commit eea0e9b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/irb/test_debug_cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,17 @@ def test_prompt_irb_name_is_kept
@envs['IRBRC'] = @irbrc.path

write_ruby <<~'ruby'
binding.irb
a = 1
def foo
binding.irb
end
foo
ruby

output = run_ruby_file do
type "123123"
type "debug"
type "123123"
type "exit"
end

Expand Down

0 comments on commit eea0e9b

Please sign in to comment.