robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
f907614088
master
1-- Tests for repeating insert and replace. 2 3local n =require ( 'test.functional.testnvim' )() 4local t =require ( 'test.testutil' ) 5 6local describe , it , setup =t . describe , t . it , t . setup 7local clear , feed , insert =n . clear , n . feed , n . insert 8local feed_command , expect =n . feed_command , n . expect 9 10describe ( 'insertcount' , function () 11setup ( clear ) 12 13it ( 'is working' , function () 14insert ( [[ 15First line 16Second line 17Last line]] ) 18 19feed_command ( '/Second' ) 20feed ( '4gro' ) 21 22expect ( [[ 23First line 24oooond line 25Last line]] ) 26end ) 27end )