diff options
-rwxr-xr-x | test/test_highline.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_highline.rb b/test/test_highline.rb index ce1233d..7ca25c0 100755 --- a/test/test_highline.rb +++ b/test/test_highline.rb @@ -1611,7 +1611,8 @@ class TestHighLine < Minitest::Test old_setting = HighLine.track_eof? HighLine.track_eof = false begin - @terminal.ask("And now? ") # this will still blow up, nothing available + require 'highline/import' + ask("And now? ") # this will still blow up, nothing available rescue refute_equal(EOFError, $!.class) # but HighLine's safe guards are off end |