diff options
Diffstat (limited to 'test/irb')
-rw-r--r-- | test/irb/test_cmd.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index b5776ae01f..106e4d2add 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -287,7 +287,7 @@ module TestIRB ]) IRB.conf[:VERBOSE] = false IRB.conf[:PROMPT_MODE] = :SIMPLE - irb = IRB::Irb.new(IRB::WorkSpace.new, input) + irb = IRB::Irb.new(IRB::WorkSpace.new(self), input) IRB.conf[:MAIN_CONTEXT] = irb.context out, err = capture_output do irb.eval_input @@ -313,7 +313,7 @@ module TestIRB ]) IRB.conf[:VERBOSE] = false IRB.conf[:PROMPT_MODE] = :SIMPLE - irb = IRB::Irb.new(IRB::WorkSpace.new, input) + irb = IRB::Irb.new(IRB::WorkSpace.new(self), input) IRB.conf[:MAIN_CONTEXT] = irb.context out, err = capture_output do irb.eval_input |