aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/011_autocommands_spec.lua
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-08-17 21:30:58 -0600
committerGregory Anders <greg@gpanders.com>2021-08-18 12:17:12 -0600
commitd8ab8cccd0cf5acdf3e7c3ca229cad4160a6fc2e (patch)
tree051f9f743f3786de6997f7f1f8e88e1ee6d8bcc5 /test/functional/legacy/011_autocommands_spec.lua
parentd417e67e595a9eb19797866e91bb80b4fe299a94 (diff)
downloadrneovim-d8ab8cccd0cf5acdf3e7c3ca229cad4160a6fc2e.tar.gz
rneovim-d8ab8cccd0cf5acdf3e7c3ca229cad4160a6fc2e.tar.bz2
rneovim-d8ab8cccd0cf5acdf3e7c3ca229cad4160a6fc2e.zip
test: update tests to work with 'hidden'
Diffstat (limited to 'test/functional/legacy/011_autocommands_spec.lua')
-rw-r--r--test/functional/legacy/011_autocommands_spec.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/legacy/011_autocommands_spec.lua b/test/functional/legacy/011_autocommands_spec.lua
index 7b6f2f63e9..0fa9290f3c 100644
--- a/test/functional/legacy/011_autocommands_spec.lua
+++ b/test/functional/legacy/011_autocommands_spec.lua
@@ -129,13 +129,11 @@ describe('file reading, writing and bufnew and filter autocommands', function()
-- Will load Xtest.c.
feed_command('e! foo.c')
feed_command("au FileAppendPre *.out '[,']s/new/NEW/")
- feed_command('au FileAppendPost *.out !cat Xtest.c >>test.out')
+ feed_command('au FileAppendPost *.out !cat Xtest.c >test.out')
-- Append it to the output file.
feed_command('w>>test.out')
-- Discard all prompts and messages.
feed('<C-L>')
- -- Expect the decompressed file in the buffer.
- feed_command('e test.out')
expect([[
/*