mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-03 17:54:33 +03:00
fix number of corestrings to test
This commit is contained in:
parent
8721279687
commit
8bdea3cc7e
@ -35,6 +35,13 @@
|
|||||||
|
|
||||||
#include "test/malloc_fig.h"
|
#include "test/malloc_fig.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The number of corestrings.
|
||||||
|
*
|
||||||
|
* This is used to test all the out of memory paths in initialisation.
|
||||||
|
*/
|
||||||
|
#define CORESTRING_TEST_COUNT 435
|
||||||
|
|
||||||
START_TEST(corestrings_test)
|
START_TEST(corestrings_test)
|
||||||
{
|
{
|
||||||
nserror ires;
|
nserror ires;
|
||||||
@ -58,7 +65,7 @@ static TCase *corestrings_case_create(void)
|
|||||||
TCase *tc;
|
TCase *tc;
|
||||||
tc = tcase_create("corestrings");
|
tc = tcase_create("corestrings");
|
||||||
|
|
||||||
tcase_add_loop_test(tc, corestrings_test, 0, 437);
|
tcase_add_loop_test(tc, corestrings_test, 0, CORESTRING_TEST_COUNT);
|
||||||
|
|
||||||
return tc;
|
return tc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user