aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/syntax_conceal_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-06-13 11:23:40 +0200
committerGitHub <noreply@github.com>2022-06-13 11:23:40 +0200
commit2f71d4708e997454a0d05d51122a56146b89af92 (patch)
treea84c5cb8f02bee2ab6e3d67c3db5f50d594e4ee4 /test/functional/ui/syntax_conceal_spec.lua
parenta68f5fccb3197116ff54898796486bcbc816ce10 (diff)
parente3281d992e1b9366d67a4b4399e3b5e11bb6c1cc (diff)
downloadrneovim-2f71d4708e997454a0d05d51122a56146b89af92.tar.gz
rneovim-2f71d4708e997454a0d05d51122a56146b89af92.tar.bz2
rneovim-2f71d4708e997454a0d05d51122a56146b89af92.zip
Merge pull request #18902 from bfredl/fulexit
fix(tests): check for EOF in requests to nvim properly
Diffstat (limited to 'test/functional/ui/syntax_conceal_spec.lua')
-rw-r--r--test/functional/ui/syntax_conceal_spec.lua3
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)