From 7b18d5e1be5131f3afeff7c9fcc12fd01dfa9422 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 22 Oct 2024 21:26:11 +1100 Subject: Add missing test file --- test/shell/prompt-shell-script-completion/script | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/shell/prompt-shell-script-completion/script (limited to 'test/shell') diff --git a/test/shell/prompt-shell-script-completion/script b/test/shell/prompt-shell-script-completion/script new file mode 100644 index 00000000..768a63bd --- /dev/null +++ b/test/shell/prompt-shell-script-completion/script @@ -0,0 +1,5 @@ +ui_out -until '{ "jsonrpc": "2.0", "method": "refresh", "params": [true] }' +ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ ":foob" ] }' +ui_out -until '{ "jsonrpc": "2.0", "method": "refresh", "params": [false] }' +ui_out -until '{ "jsonrpc": "2.0", "method": "menu_show", "params": [[[{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "foo" }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "bar" }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "baz" }]], { "line": 0, "column": 0 }, { "fg": "white", "bg": "blue", "underline": "default", "attributes": [] }, { "fg": "blue", "bg": "white", "underline": "default", "attributes": [] }, "prompt"] }' +ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "" ] }' -- cgit v1.2.3