diff options
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) |