1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

1 commit

Author SHA1 Message Date
Kyrylo Silin
80112d24bb Add unit tests for DEFAULT_CONTROL_D_HANDLER
DEFAULT_CONTROL_D_HANDLER handles a user's Control-D (^D) presses. Add
unit tests for ^D presses. Note that this commit doesn't include unit
tests for the situation when ^D is being pressed in an expression[1].

[1]:
Example of the untested situation:
  % pry
  [1] pry(main)> class Foo
  [1] pry(main)*   ^D
  [2] pry(main)>

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2012-06-17 11:25:33 +12:00