зеркало из https://github.com/github/ruby.git
Set IRB::Context#return_format on test clarify
This commit is contained in:
Родитель
a458317b91
Коммит
1b02f6c020
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче