robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. KeyesMerge #40865 from justinmk/fixcif907614088

master
467 B19 linesraw
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
10  return
11end
12describe('test code', function()
13  itp('does not hang when working with lengthy errors', function()
14    error(('x'):rep(65536), 0)
15  end)
16  itp('shows trace after exiting abnormally', function()
17    sc.exit(0)
18  end)
19end)