diff options
Diffstat (limited to 'test/irb/test_context.rb')
-rw-r--r-- | test/irb/test_context.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb index fa2432b3f3..469599c11b 100644 --- a/test/irb/test_context.rb +++ b/test/irb/test_context.rb @@ -55,6 +55,7 @@ module TestIRB end def test_eval_input + verbose, $VERBOSE = $VERBOSE, nil input = TestInputMethod.new([ "raise 'Foo'\n", "_\n", @@ -71,6 +72,8 @@ module TestIRB :*, /0$/, :*, /0$/, /\s*/], out) + ensure + $VERBOSE = verbose end end end |