diff options
Diffstat (limited to 'test/functional/legacy/031_close_commands_spec.lua')
-rw-r--r-- | test/functional/legacy/031_close_commands_spec.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/functional/legacy/031_close_commands_spec.lua b/test/functional/legacy/031_close_commands_spec.lua index d02b1a2049..173ebf1cf4 100644 --- a/test/functional/legacy/031_close_commands_spec.lua +++ b/test/functional/legacy/031_close_commands_spec.lua @@ -119,9 +119,12 @@ describe('Commands that close windows and/or buffers', function() feed_command('q!') feed('<CR>') expect('testtext 1') - expect_exit(source, [[ + expect_exit( + source, + [[ q! " Now nvim should have exited - throw "Oh, Not finished yet."]]) + throw "Oh, Not finished yet."]] + ) end) end) |