mirror of
https://github.com/neovim/neovim.git
synced 2026-05-04 04:55:16 +00:00
test: rename (meths, funcs) -> (api, fn)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
local helpers = require('test.functional.helpers')(after_each)
|
||||
local clear = helpers.clear
|
||||
local command = helpers.command
|
||||
local funcs = helpers.funcs
|
||||
local fn = helpers.fn
|
||||
local feed = helpers.feed
|
||||
local expect = helpers.expect
|
||||
local eq = helpers.eq
|
||||
@@ -29,10 +29,10 @@ describe(':normal!', function()
|
||||
it('can stop Visual mode without closing cmdwin vim-patch:9.0.0234', function()
|
||||
feed('q:')
|
||||
feed('v')
|
||||
eq('v', funcs.mode(1))
|
||||
eq(':', funcs.getcmdwintype())
|
||||
eq('v', fn.mode(1))
|
||||
eq(':', fn.getcmdwintype())
|
||||
command('normal! \027')
|
||||
eq('n', funcs.mode(1))
|
||||
eq(':', funcs.getcmdwintype())
|
||||
eq('n', fn.mode(1))
|
||||
eq(':', fn.getcmdwintype())
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user