diff options
Diffstat (limited to 'test/test_node.c')
-rw-r--r-- | test/test_node.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_node.c b/test/test_node.c index 937d8a5f..a76bcd35 100644 --- a/test/test_node.c +++ b/test/test_node.c @@ -171,6 +171,8 @@ test_node_from_string(void) serd_node_flags(hello) == SERD_HAS_QUOTE && !strcmp(serd_node_string(hello), "hello\"")); + assert(!strcmp(serd_node_string_view(hello).data, "hello\"")); + assert(serd_node_string_view(hello).length == 6); serd_node_free(hello); } |