diff options
Diffstat (limited to 'tests/serd_test.c')
-rw-r--r-- | tests/serd_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c index 945fefe3..a987b153 100644 --- a/tests/serd_test.c +++ b/tests/serd_test.c @@ -244,6 +244,10 @@ main(void) str, len, flags); } + if (serd_strlen(str, &n_bytes, NULL) != 5) { + FAILF("Bad serd_strlen(%s) n_bytes=%zu no flags\n", str, n_bytes); + } + // Test serd_strerror const uint8_t* msg = NULL; |