aboutsummaryrefslogtreecommitdiffstats
path: root/tests/serd_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/serd_test.c')
-rw-r--r--tests/serd_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c
index 11f32ed8..50e761a5 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -372,6 +372,11 @@ main()
node.buf, node.n_bytes, node.n_chars, node.flags, node.type);
}
+ node = serd_node_from_string(SERD_URI, NULL);
+ if (!serd_node_equals(&node, &SERD_NODE_NULL)) {
+ return failure("Creating node from NULL string failed\n");
+ }
+
// Test serd_node_new_uri_from_string
SerdURI base_uri;