test: skip flaky tests

This commit is contained in:
dundargoc 2024-03-29 12:46:41 +01:00 committed by dundargoc
parent 3d554b755b
commit 5a5d26b4ab
2 changed files with 3 additions and 2 deletions

View File

@ -94,6 +94,7 @@ func Test_buffer_Number()
endfunc
func Test_window_Cursor()
throw 'skipped: flaky '
new
call setline(1, ['line1', 'line2'])
perl $curwin->Cursor(2, 3)
@ -104,7 +105,7 @@ func Test_window_Cursor()
endfunc
func Test_window_SetHeight()
throw 'skipped: very flaky '
throw 'skipped: flaky '
new
perl $curwin->SetHeight(2)
call assert_equal(2, winheight(0))

View File

@ -3223,7 +3223,7 @@ describe('typval.c', function()
end)
end)
describe('lnum()', function()
itp('works', function()
pending('works (skip due to flakiness)', function()
for _, v in ipairs({
{ lib.VAR_NUMBER, { v_number = 42 }, nil, 42 },
{ lib.VAR_STRING, { v_string = to_cstr('100500') }, nil, 100500 },