mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
14 lines
308 B
Lua
14 lines
308 B
Lua
local helpers = require('test.functional.helpers')(after_each)
|
|
local clear = helpers.clear
|
|
local eq = helpers.eq
|
|
local fn = helpers.fn
|
|
local command = helpers.command
|
|
|
|
it(':wincmd accepts a count', function()
|
|
clear()
|
|
command('vsplit')
|
|
eq(1, fn.winnr())
|
|
command('wincmd 2 w')
|
|
eq(2, fn.winnr())
|
|
end)
|