aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_overflow.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-09-09 13:57:43 -0400
committerDavid Robillard <d@drobilla.net>2022-01-28 21:57:07 -0500
commitbd24b8f6d558bafbbb16d9490ebe3478dbf130bd (patch)
tree592c5ebc7694a80952b193de0adea0f4e640ec65 /test/test_overflow.c
parent1fb84760a8230637a806e8e83410fc7fb6d446d2 (diff)
downloadserd-bd24b8f6d558bafbbb16d9490ebe3478dbf130bd.tar.gz
serd-bd24b8f6d558bafbbb16d9490ebe3478dbf130bd.tar.bz2
serd-bd24b8f6d558bafbbb16d9490ebe3478dbf130bd.zip
Use more human-readable status codes
Diffstat (limited to 'test/test_overflow.c')
-rw-r--r--test/test_overflow.c4
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