diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-06-08 23:22:50 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-06-13 10:15:44 +0200 |
commit | e3281d992e1b9366d67a4b4399e3b5e11bb6c1cc (patch) | |
tree | fe0a8377115e946faf1c0328285331b4fd6c8a4c /test/functional/ui/syntax_conceal_spec.lua | |
parent | dd8b6094c03362cc60d627ce709a4a0f9825b86a (diff) | |
download | rneovim-e3281d992e1b9366d67a4b4399e3b5e11bb6c1cc.tar.gz rneovim-e3281d992e1b9366d67a4b4399e3b5e11bb6c1cc.tar.bz2 rneovim-e3281d992e1b9366d67a4b4399e3b5e11bb6c1cc.zip |
fix(tests): check for EOF on exit of nvim properly
Diffstat (limited to 'test/functional/ui/syntax_conceal_spec.lua')
-rw-r--r-- | test/functional/ui/syntax_conceal_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/ui/syntax_conceal_spec.lua b/test/functional/ui/syntax_conceal_spec.lua index 9d10c55cb6..f790597140 100644 --- a/test/functional/ui/syntax_conceal_spec.lua +++ b/test/functional/ui/syntax_conceal_spec.lua @@ -4,6 +4,7 @@ local clear, feed, command = helpers.clear, helpers.feed, helpers.command local eq = helpers.eq local insert = helpers.insert local poke_eventloop = helpers.poke_eventloop +local expect_exit = helpers.expect_exit describe('Screen', function() local screen @@ -1003,7 +1004,7 @@ describe('Screen', function() -- test/functional/ui/syntax_conceal_spec.lua. describe('concealed line after window scroll', function() after_each(function() - command(':qall!') + expect_exit(command, ':qall!') os.remove('Xcolesearch') end) |