aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/serd_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c
index 01f1e60b..e5037945 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -248,6 +248,10 @@ main(void)
str, n_bytes, flags);
}
+ if (serd_strlen((const char*)str, NULL) != 7) {
+ FAILF("Bad serd_strlen(%s) n_bytes=%zu no flags\n", str, n_bytes);
+ }
+
// Test serd_strerror
const char* msg = NULL;