diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-07-26 09:32:35 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-07-26 09:32:35 +0100 |
commit | 8bdea3cc7e7838b0d6c2eb33966724ed2138bf89 (patch) | |
tree | 8f4fdb5327bc298c7f02849d0fbf51023441907a /test | |
parent | 8721279687f4b99b1b815c131257dee02d86553b (diff) | |
download | netsurf-8bdea3cc7e7838b0d6c2eb33966724ed2138bf89.tar.gz netsurf-8bdea3cc7e7838b0d6c2eb33966724ed2138bf89.tar.bz2 |
fix number of corestrings to test
Diffstat (limited to 'test')
-rw-r--r-- | test/corestrings.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/corestrings.c b/test/corestrings.c index e8f68c0a6..02640c953 100644 --- a/test/corestrings.c +++ b/test/corestrings.c @@ -35,6 +35,13 @@ #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) { nserror ires; @@ -58,7 +65,7 @@ static TCase *corestrings_case_create(void) TCase *tc; 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; } |