diff options
Diffstat (limited to 'test/reline/yamatanooroti/multiline_repl')
-rwxr-xr-x | test/reline/yamatanooroti/multiline_repl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/reline/yamatanooroti/multiline_repl b/test/reline/yamatanooroti/multiline_repl index f2efdd4eaf..00d4825ee3 100755 --- a/test/reline/yamatanooroti/multiline_repl +++ b/test/reline/yamatanooroti/multiline_repl @@ -30,6 +30,11 @@ opt.on('--dynamic-prompt-returns-empty') { opt.on('--auto-indent') { AutoIndent.new } +opt.on('--complete') { + Reline.completion_proc = lambda { |target, preposing = nil, postposing = nil| + %w{String ScriptError SyntaxError Signal} + } +} opt.parse!(ARGV) begin |