blob: 283f0991cbaa0077ae8be9136b0f8ddc8ecc7e90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local clear = n.clear
local eq = t.eq
local fn = n.fn
local command = n.command
it(':wincmd accepts a count', function()
clear()
command('vsplit')
eq(1, fn.winnr())
command('wincmd 2 w')
eq(2, fn.winnr())
end)
|