diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-02-21 15:16:48 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-02-26 11:57:52 +0100 |
commit | e7bbd35c812d338918d1c23692c70b403205fb30 (patch) | |
tree | 21dcf24c9e1c759fd9cf984c76ec40a51b94dbfc /test/functional/terminal/ex_terminal_spec.lua | |
parent | 300eca3d301e407adadc017e71502d20a4b207e8 (diff) | |
download | rneovim-e7bbd35c812d338918d1c23692c70b403205fb30.tar.gz rneovim-e7bbd35c812d338918d1c23692c70b403205fb30.tar.bz2 rneovim-e7bbd35c812d338918d1c23692c70b403205fb30.zip |
terminal: 'scrollback'
Closes #2637
Diffstat (limited to 'test/functional/terminal/ex_terminal_spec.lua')
-rw-r--r-- | test/functional/terminal/ex_terminal_spec.lua | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/functional/terminal/ex_terminal_spec.lua b/test/functional/terminal/ex_terminal_spec.lua index 7c391db18c..dc2535bade 100644 --- a/test/functional/terminal/ex_terminal_spec.lua +++ b/test/functional/terminal/ex_terminal_spec.lua @@ -20,22 +20,18 @@ describe(':terminal', function() source([[ echomsg "msg1" echomsg "msg2" + echomsg "msg3" ]]) -- Invoke a command that emits frequent terminal activity. execute([[terminal while true; do echo X; done]]) helpers.feed([[<C-\><C-N>]]) - screen:expect([[ - X | - X | - ^X | - | - ]]) + wait() helpers.sleep(10) -- Let some terminal activity happen. execute("messages") screen:expect([[ - X | msg1 | msg2 | + msg3 | Press ENTER or type command to continue^ | ]]) end) |