1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Set IRB::Context#return_format on test clarify

This commit is contained in:
aycabta 2019-08-16 07:10:45 +09:00
parent a458317b91
commit 1b02f6c020

View file

@ -143,6 +143,7 @@ module TestIRB
"_\n"
])
irb = IRB::Irb.new(IRB::WorkSpace.new(Object.new), input)
irb.context.return_format = "=> %s\n"
# The default
irb.context.echo = true