aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds/quickfix_commands_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/ex_cmds/quickfix_commands_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/ex_cmds/quickfix_commands_spec.lua')
-rw-r--r--test/functional/ex_cmds/quickfix_commands_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/ex_cmds/quickfix_commands_spec.lua b/test/functional/ex_cmds/quickfix_commands_spec.lua
index 06dafa9ab9..c956a2df2d 100644
--- a/test/functional/ex_cmds/quickfix_commands_spec.lua
+++ b/test/functional/ex_cmds/quickfix_commands_spec.lua
@@ -47,6 +47,7 @@ for _, c in ipairs({'l', 'c'}) do
eq(('%s-2.res'):format(file), funcs.bufname(list[2].bufnr))
-- Run cfile/lfile from a modified buffer
+ command('set nohidden')
command('enew!')
curbufmeths.set_lines(1, 1, true, {'Quickfix'})
eq(('Vim(%s):E37: No write since last change (add ! to override)'):format(