summaryrefslogtreecommitdiff
path: root/test/test_highline.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_highline.rb')
-rwxr-xr-xtest/test_highline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_highline.rb b/test/test_highline.rb
index eca4670..6f4d1e0 100755
--- a/test/test_highline.rb
+++ b/test/test_highline.rb
@@ -1645,7 +1645,7 @@ class TestHighLine < Minitest::Test
require "highline/import"
# this will still blow up, nothing available
ask("And now? ")
- rescue
+ rescue StandardError
# but HighLine's safe guards are off
refute_equal(EOFError, $ERROR_INFO.class)
end