aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-12 20:39:23 +0200
committerDavid Robillard <d@drobilla.net>2018-11-25 22:12:47 +0100
commit24d7ed6bcfdc340874f9cdf7eb5a056567668a08 (patch)
tree3fc54001b48ba2bee371561ae1b73290b3688548 /tests
parentba67dcd8288e73beb4aa571541b73a6b1ea143af (diff)
downloadserd-24d7ed6bcfdc340874f9cdf7eb5a056567668a08.tar.gz
serd-24d7ed6bcfdc340874f9cdf7eb5a056567668a08.tar.bz2
serd-24d7ed6bcfdc340874f9cdf7eb5a056567668a08.zip
Use fixed size stack
Diffstat (limited to 'tests')
-rw-r--r--tests/serd_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c
index 0ac1a114..049b4767 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -276,7 +276,7 @@ main(void)
if (strcmp((msg = serd_strerror(SERD_SUCCESS)), "Success")) {
FAILF("Bad message `%s' for SERD_SUCCESS\n", msg);
}
- for (int i = SERD_FAILURE; i <= SERD_ERR_INTERNAL; ++i) {
+ for (int i = SERD_FAILURE; i <= SERD_ERR_OVERFLOW; ++i) {
msg = serd_strerror((SerdStatus)i);
if (!strcmp((const char*)msg, "Success")) {
FAILF("Bad message `%s' for (SerdStatus)%d\n", msg, i);
@@ -683,7 +683,7 @@ main(void)
ReaderTest rt = { 0, NULL };
SerdSink sink = { &rt, NULL, NULL, test_sink, NULL };
- SerdReader* reader = serd_reader_new(world, SERD_TURTLE, &sink);
+ SerdReader* reader = serd_reader_new(world, SERD_TURTLE, &sink, 4096);
if (!reader) {
FAIL("Failed to create reader\n");
}