diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-09-24 23:51:32 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-09-25 06:51:01 -0300 |
commit | 4c37fca6e52c4ede457565fab88902debfe9a1ca (patch) | |
tree | 0a3e6be25a6e4f593a7339d0f65428b4e1d5a458 /test/test_highline.rb | |
parent | f967b788d640a31eccf0a6de3233d81db642d433 (diff) | |
download | highline-4c37fca6e52c4ede457565fab88902debfe9a1ca.tar.gz |
Fix rescueing without error class
Diffstat (limited to 'test/test_highline.rb')
-rwxr-xr-x | test/test_highline.rb | 2 |
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 |