summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_highline.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_highline.rb b/test/test_highline.rb
index 7ca25c0..0bd2d99 100755
--- a/test/test_highline.rb
+++ b/test/test_highline.rb
@@ -1612,6 +1612,7 @@ class TestHighLine < Minitest::Test
HighLine.track_eof = false
begin
require 'highline/import'
+ HighLine.default_instance = HighLine.new(StringIO.new, StringIO.new)
ask("And now? ") # this will still blow up, nothing available
rescue
refute_equal(EOFError, $!.class) # but HighLine's safe guards are off