mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07:00
14 lines
279 B
Lua
14 lines
279 B
Lua
local t = require('test.functional.testutil')(after_each)
|
|
local clear = t.clear
|
|
local eq = t.eq
|
|
local fn = t.fn
|
|
local command = t.command
|
|
|
|
it(':wincmd accepts a count', function()
|
|
clear()
|
|
command('vsplit')
|
|
eq(1, fn.winnr())
|
|
command('wincmd 2 w')
|
|
eq(2, fn.winnr())
|
|
end)
|