improve tests

This commit is contained in:
Katayama Hirofumi MZ 2025-03-29 19:35:06 +09:00
parent 2a2c8318bf
commit 6737d3e80d

View file

@ -47,15 +47,17 @@ static void Test_setjmp_2(void)
volatile int z = 4;
if (setjmp(g_jmp_buf) == 0)
{
ok_int(TRUE, TRUE);
Test_longjmp();
ok_int(TRUE, FALSE);
ok_int(TRUE, FALSE);
ok_int(TRUE, FALSE);
}
else
{
ok_int(x, 2);
ok_int(y, 3);
ok_int(z, 4);
ok_int(TRUE, TRUE);
}
}