diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-12 02:42:13 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-12 02:42:13 +0200 |
| commit | ad4eb18e43d56d7ec93770af674418451daae694 (patch) | |
| tree | 4779887d56e4640f60b5c4d796def4ebb3e4af6e /test/functional/core | |
| parent | 48dc6344d665a7537fb000ec64ab95a37faa07f3 (diff) | |
| parent | 2fbeea8326e2e3724482d4131f10c1b1990a1687 (diff) | |
| download | rneovim-ad4eb18e43d56d7ec93770af674418451daae694.tar.gz rneovim-ad4eb18e43d56d7ec93770af674418451daae694.tar.bz2 rneovim-ad4eb18e43d56d7ec93770af674418451daae694.zip | |
Merge #10098 'win: fix msg_puts_printf()'
Diffstat (limited to 'test/functional/core')
| -rw-r--r-- | test/functional/core/startup_spec.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua index 62a45fdf88..3b32c42ec0 100644 --- a/test/functional/core/startup_spec.lua +++ b/test/functional/core/startup_spec.lua @@ -226,6 +226,31 @@ describe('startup', function() clear{env={CDPATH='~doesnotexist'}} eq(',~doesnotexist', eval('&cdpath')) end) + + it('ENTER dismisses early message #7967', function() + local screen + screen = Screen.new(60, 6) + screen:attach() + command([[let g:id = termopen('"]]..nvim_prog.. + [[" -u NONE -i NONE --cmd "set noruler" --cmd "let g:foo = g:bar"')]]) + screen:expect([[ + ^ | + Error detected while processing pre-vimrc command line: | + E121: Undefined variable: g:bar | + E15: Invalid expression: g:bar | + Press ENTER or type command to continue | + | + ]]) + command([[call chansend(g:id, "\n")]]) + screen:expect([[ + ^ | + ~ | + ~ | + [No Name] | + | + | + ]]) + end) end) describe('sysinit', function() |