blob: b1f174f44525e0436ec7ddc5630a97c9c3b0262f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
local helpers = require("test.functional.helpers")(after_each)
local clear = helpers.clear
local eq = helpers.eq
local funcs = helpers.funcs
local command = helpers.command
it(':wincmd accepts a count', function()
clear()
command('vsplit')
eq(1, funcs.winnr())
command('wincmd 2 w')
eq(2, funcs.winnr())
end)
|