diff options
author | tomoya ishida <tomoyapenguin@gmail.com> | 2023-10-15 00:02:33 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-10-14 15:02:38 +0000 |
commit | 75fb3cf458fe41b2c935f54b9e5734ced3dc0ece (patch) | |
tree | dd5ffe6462cca1fc2828789ebff24ec5677f9b1c /test | |
parent | eb3be1dfef773b2857a695c421085069b4f0314b (diff) | |
download | ruby-75fb3cf458fe41b2c935f54b9e5734ced3dc0ece.tar.gz |
[ruby/irb] Restore encoding in InputCompletor test
(https://github.com/ruby/irb/pull/732)
https://github.com/ruby/irb/commit/ef77c232cf
Diffstat (limited to 'test')
-rw-r--r-- | test/irb/test_completion.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/irb/test_completion.rb b/test/irb/test_completion.rb index ed5b88d66e..0da7a7471e 100644 --- a/test/irb/test_completion.rb +++ b/test/irb/test_completion.rb @@ -268,12 +268,14 @@ module TestIRB class DeprecatedInputCompletorTest < TestCase def setup + save_encodings @verbose, $VERBOSE = $VERBOSE, nil IRB.init_config(nil) IRB.conf[:MAIN_CONTEXT] = IRB::Context.new(IRB::WorkSpace.new(binding)) end def teardown + restore_encodings $VERBOSE = @verbose end |