diff options
Diffstat (limited to 'test/test_overflow.c')
-rw-r--r-- | test/test_overflow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_overflow.c b/test/test_overflow.c index ca273b23..2aedc1bb 100644 --- a/test/test_overflow.c +++ b/test/test_overflow.c @@ -67,11 +67,11 @@ test_all_sizes(SerdWorld* const world, // Test with an increasingly smaller stack for (size_t size = max_stack_size; size > min_stack_size; --size) { if ((st = test_size(world, str, syntax, flags, size))) { - assert(st == SERD_ERR_OVERFLOW); + assert(st == SERD_BAD_STACK); } } - assert(st == SERD_ERR_OVERFLOW); + assert(st == SERD_BAD_STACK); } static void |