Skip to content

Commit

Permalink
Require stringio to use StringIO
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jun 26, 2022
1 parent e93410e commit e024ab7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/irb/test_context.rb
Expand Up @@ -132,6 +132,7 @@ def test_eval_input_raise2x
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)
Expand Down

0 comments on commit e024ab7

Please sign in to comment.