summaryrefslogtreecommitdiff
path: root/test/reline/yamatanooroti/multiline_repl
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-09-30 20:55:50 +0900
committergit <svn-admin@ruby-lang.org>2021-10-03 14:09:03 +0900
commit2a3d0fbe172d52be9a64e0bd366c5f74177bd881 (patch)
tree4ab84217962582b5d11a4cd8755e953a8228afef /test/reline/yamatanooroti/multiline_repl
parent4401bbe8a7d9677cd3347073cf3a36b371b3ad62 (diff)
[ruby/reline] Add newlines for readability
https://github.com/ruby/reline/commit/2a60aacebb
Diffstat (limited to 'test/reline/yamatanooroti/multiline_repl')
-rwxr-xr-xtest/reline/yamatanooroti/multiline_repl23
1 files changed, 22 insertions, 1 deletions
diff --git a/test/reline/yamatanooroti/multiline_repl b/test/reline/yamatanooroti/multiline_repl
index 473d9d0f00..c9036f71b4 100755
--- a/test/reline/yamatanooroti/multiline_repl
+++ b/test/reline/yamatanooroti/multiline_repl
@@ -91,7 +91,28 @@ opt.on('--autocomplete') {
opt.on('--autocomplete-long') {
Reline.autocompletion = true
Reline.completion_proc = lambda { |target, preposing = nil, postposing = nil|
- %w{String Struct Symbol StopIteration SystemCallError SystemExit SystemStackError ScriptError SyntaxError Signal SizedQueue Set SecureRandom Socket StringIO StringScanner Shellwords Syslog Singleton SDBM}.select{ |c| c.start_with?(target) }
+ %w{
+ String
+ Struct
+ Symbol
+ StopIteration
+ SystemCallError
+ SystemExit
+ SystemStackError
+ ScriptError
+ SyntaxError
+ Signal
+ SizedQueue
+ Set
+ SecureRandom
+ Socket
+ StringIO
+ StringScanner
+ Shellwords
+ Syslog
+ Singleton
+ SDBM
+ }.select{ |c| c.start_with?(target) }
}
}
opt.parse!(ARGV)