robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
f907614088
master
1local t =require ( 'test.testutil' ) 2local n =require ( 'test.functional.testnvim' )() 3 4local it =t . it 5local clear =n . clear 6local eq =t . eq 7local fn =n . fn 8local command =n . command 9 10it ( ':wincmd accepts a count' , function () 11clear () 12command ( 'vsplit' ) 13eq ( 1 , fn . winnr ()) 14command ( 'wincmd 2 w' ) 15eq ( 2 , fn . winnr ()) 16end )