aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_env.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_env.c b/test/test_env.c
index dd8660dc..1de075f3 100644
--- a/test/test_env.c
+++ b/test/test_env.c
@@ -64,6 +64,8 @@ test_env(void)
const SerdNode lit = serd_node_from_string(SERD_LITERAL, USTR("hello"));
assert(serd_env_set_prefix(env, &b, &lit));
+ assert(!serd_env_new(&lit));
+
const SerdNode blank = serd_node_from_string(SERD_BLANK, USTR("b1"));
const SerdNode xblank = serd_env_expand_node(env, &blank);
assert(serd_node_equals(&xblank, &SERD_NODE_NULL));