robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
f907614088
master
1-- Test for buffer name completion when 'wildoptions' contains "fuzzy" 2-- (Confirm that Vim does not crash) 3local n =require ( 'test.functional.testnvim' )() 4local t =require ( 'test.testutil' ) 5 6local describe , it , before_each =t . describe , t . it , t . before_each 7local clear =n . clear 8local insert =n . insert 9local expect =n . expect 10local feed_command =n . feed_command 11local command =n . command 12 13describe ( 'set wildoptions=fuzzy' , function () 14before_each ( clear ) 15 16it ( 'works' , function () 17insert ( [[I'm alive!]] ) 18command ( 'set wildoptions=fuzzy' ) 19command ( 'new buf_a' ) 20feed_command ( 'b buf_a' ) 21command ( 'q!' ) 22expect ( [[I'm alive!]] ) 23end ) 24end )