aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds/append_spec.lua
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-11-29 22:40:55 +0000
committerJosh Rahm <joshuarahm@gmail.com>2023-11-29 22:40:55 +0000
commit0bd3cd90d902a1419db129427980ad7af1650d50 (patch)
tree2554d10989c0387909d002f41ecbf380dd431b8b /test/functional/ex_cmds/append_spec.lua
parent4cb64e3b084995a0924d521e89c3e341e2200a6a (diff)
parent4a8bf24ac690004aedf5540fa440e788459e5e34 (diff)
downloadrneovim-0bd3cd90d902a1419db129427980ad7af1650d50.tar.gz
rneovim-0bd3cd90d902a1419db129427980ad7af1650d50.tar.bz2
rneovim-0bd3cd90d902a1419db129427980ad7af1650d50.zip
Merge remote-tracking branch 'upstream/master' into fix_20726
Diffstat (limited to 'test/functional/ex_cmds/append_spec.lua')
-rw-r--r--test/functional/ex_cmds/append_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/ex_cmds/append_spec.lua b/test/functional/ex_cmds/append_spec.lua
index fadb5c9b42..4134eed87e 100644
--- a/test/functional/ex_cmds/append_spec.lua
+++ b/test/functional/ex_cmds/append_spec.lua
@@ -8,6 +8,7 @@ local clear = helpers.clear
local funcs = helpers.funcs
local command = helpers.command
local curbufmeths = helpers.curbufmeths
+local meths = helpers.meths
local Screen = require('test.functional.ui.screen')
local cmdtest = function(cmd, prep, ret1)
@@ -42,7 +43,7 @@ local cmdtest = function(cmd, prep, ret1)
eq(hisline, funcs.histget(':', -2))
eq(cmd, funcs.histget(':'))
-- Test that command-line window was launched
- eq('nofile', curbufmeths.get_option('buftype'))
+ eq('nofile', meths.get_option_value('buftype', {}))
eq('n', funcs.mode(1))
feed('<CR>')
eq('c', funcs.mode(1))