diff options
Diffstat (limited to 'test/test_env.c')
-rw-r--r-- | test/test_env.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_env.c b/test/test_env.c index b25bd9e2..48bc6c9b 100644 --- a/test/test_env.c +++ b/test/test_env.c @@ -50,8 +50,13 @@ test_env(void) SerdChunk prefix; SerdChunk suffix; + assert(!serd_env_qualify(NULL, &u, &u, &suffix)); + assert(serd_env_expand(NULL, &c, &prefix, &suffix)); assert(serd_env_expand(env, &b, &prefix, &suffix)); + SerdNode nxnode = serd_env_expand_node(NULL, &c); + assert(serd_node_equals(&nxnode, &SERD_NODE_NULL)); + SerdNode xnode = serd_env_expand_node(env, &SERD_NODE_NULL); assert(serd_node_equals(&xnode, &SERD_NODE_NULL)); |