diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-26 15:09:56 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-06-26 15:23:32 +0900 |
commit | a2b3f2014cf15daa4b608b82a8432b46a13c0e54 (patch) | |
tree | c2b1b9db0974e1ee6759b69aec97dd42cb693e2c /test/irb | |
parent | e0bfdb23af3f182d7605a6ac3c93b07001d9045c (diff) |
[ruby/irb] Require stringio to use StringIO
https://github.com/ruby/irb/commit/e024ab716b
Diffstat (limited to 'test/irb')
-rw-r--r-- | test/irb/test_context.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb index ad842c2725..b041403cb9 100644 --- a/test/irb/test_context.rb +++ b/test/irb/test_context.rb @@ -132,6 +132,7 @@ module TestIRB end def test_output_to_pipe + require 'stringio' input = TestInputMethod.new(["n=1"]) input.instance_variable_set(:@stdout, StringIO.new) irb = IRB::Irb.new(IRB::WorkSpace.new(Object.new), input) |