robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
f907614088
master
1local t =require ( 'test.unit.testutil' ) 2 3local describe =t . describe 4local itp =t . gen_itp ( t . it ) 5 6local sc =t . sc 7 8-- All of the below tests must fail. Check how exactly they fail. 9if os . getenv ( 'NVIM_TEST_RUN_TESTTEST' ) ~= '1' then 10return 11end 12describe ( 'test code' , function () 13itp ( 'does not hang when working with lengthy errors' , function () 14error (( 'x' ): rep ( 65536 ), 0 ) 15end ) 16itp ( 'shows trace after exiting abnormally' , function () 17sc . exit ( 0 ) 18end ) 19end )