pry/pry — pull request #598 by kyrylo (2012-06-16 18:25:10+00:00)
Title: 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)>