aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_string.c')
-rw-r--r--test/test_string.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/test_string.c b/test/test_string.c
index 2f805015..1181de01 100644
--- a/test/test_string.c
+++ b/test/test_string.c
@@ -24,22 +24,10 @@
#endif
#include <assert.h>
-#include <stdint.h>
#include <stdio.h>
#include <string.h>
static void
-test_strlen(void)
-{
- const uint8_t str[] = {'"', '5', 0xE2, 0x82, 0xAC, '"', '\n', 0};
-
- SerdNodeFlags flags = 0;
- size_t n_bytes = serd_strlen((const char*)str, &flags);
- assert(n_bytes == 7 && flags == (SERD_HAS_QUOTE | SERD_HAS_NEWLINE));
- assert(serd_strlen((const char*)str, NULL) == 7);
-}
-
-static void
test_strerror(void)
{
const char* msg = serd_strerror(SERD_SUCCESS);
@@ -78,7 +66,6 @@ main(int argc, char** argv)
{
(void)argc;
- test_strlen();
test_strerror();
test_canonical_path(argv[0]);