Skip to content

Commit

Permalink
Fix for test_interrupting_client_doesnt_abort_server_after_a_second_b…
Browse files Browse the repository at this point in the history
…reakpoint
  • Loading branch information
MSP-Greg committed Jan 6, 2018
1 parent 7bddb3e commit ce1acad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ cache:
- .bundle/gems

matrix:
fast_finish: true
# fast_finish: true
allow_failures:
- ruby_version: _trunk

Expand Down
6 changes: 3 additions & 3 deletions lib/byebug/interfaces/remote_interface.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ def close
def readline(prompt)
puts(prompt)

result = input.gets
return "continue" unless result

result = (input.gets || "continue")
result.chomp
rescue Errno::EPIPE, Errno::ECONNABORTED
"continue"
end
end
end
2 changes: 1 addition & 1 deletion test/remote_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def program_with_two_breakpoints
18: thingy = #{example_class}.new
19: byebug
20: thingy.a
21: sleep 5
21: sleep 3
22: thingy.a
23: byebug
24: thingy.a
Expand Down

0 comments on commit ce1acad

Please sign in to comment.