summaryrefslogtreecommitdiff
path: root/test/irb/test_context.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-08-16 07:10:45 +0900
committeraycabta <aycabta@gmail.com>2019-08-16 07:10:45 +0900
commit1b02f6c020e5d73cbe8e759ada7da908ce6a3f15 (patch)
tree05544de016852289abd493c9c08807c7e7f82132 /test/irb/test_context.rb
parenta458317b914579c8a042ed02592af3a92aa41d1b (diff)
downloadruby-1b02f6c020e5d73cbe8e759ada7da908ce6a3f15.tar.gz
Set IRB::Context#return_format on test clarify
Diffstat (limited to 'test/irb/test_context.rb')
-rw-r--r--test/irb/test_context.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb
index c55de4f84e..d58477c84e 100644
--- a/test/irb/test_context.rb
+++ b/test/irb/test_context.rb
@@ -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