diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2024-03-09 14:57:57 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2024-03-09 14:57:57 -0700 |
commit | c324271b99eee4c621463f368914d57cd729bd9c (patch) | |
tree | 5d979d333a2d5f9c080991d5482fd5916f8579c6 /test/functional/ex_cmds/print_commands_spec.lua | |
parent | 931bffbda3668ddc609fc1da8f9eb576b170aa52 (diff) | |
parent | ade1b12f49c3b3914c74847d791eb90ea90b56b7 (diff) | |
download | rneovim-c324271b99eee4c621463f368914d57cd729bd9c.tar.gz rneovim-c324271b99eee4c621463f368914d57cd729bd9c.tar.bz2 rneovim-c324271b99eee4c621463f368914d57cd729bd9c.zip |
Merge remote-tracking branch 'upstream/master' into userreg
Diffstat (limited to 'test/functional/ex_cmds/print_commands_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/print_commands_spec.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/ex_cmds/print_commands_spec.lua b/test/functional/ex_cmds/print_commands_spec.lua index 98c0f74635..ba5ec7d2d1 100644 --- a/test/functional/ex_cmds/print_commands_spec.lua +++ b/test/functional/ex_cmds/print_commands_spec.lua @@ -1,12 +1,11 @@ local helpers = require('test.functional.helpers')(after_each) -local clear, eq, command, funcs = - helpers.clear, helpers.eq, helpers.command, helpers.funcs +local clear, eq, command, fn = helpers.clear, helpers.eq, helpers.command, helpers.fn describe(':z^', function() before_each(clear) it('correctly sets the cursor after :z^', function() command('z^') - eq(1, funcs.line('.')) + eq(1, fn.line('.')) end) end) |