Skip to content

Commit e024ab7

Browse files
committed
Require stringio to use StringIO
1 parent e93410e commit e024ab7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/irb/test_context.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ def test_eval_input_raise2x
132132
end
133133

134134
def test_output_to_pipe
135+
require 'stringio'
135136
input = TestInputMethod.new(["n=1"])
136137
input.instance_variable_set(:@stdout, StringIO.new)
137138
irb = IRB::Irb.new(IRB::WorkSpace.new(Object.new), input)

0 commit comments

Comments
 (0)