Set IRB::Context#return_format on test clarify

This commit is contained in:
aycabta 2019-08-16 07:10:45 +09:00
Родитель a458317b91
Коммит 1b02f6c020
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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