From ffe660fe7a8cf97416b47a81080f4229874c5e89 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Mar 2019 02:59:40 +0100 Subject: Improve Env test coverage --- tests/serd_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/serd_test.c b/tests/serd_test.c index 04dbeb01..cb80d598 100644 --- a/tests/serd_test.c +++ b/tests/serd_test.c @@ -523,6 +523,9 @@ main(void) SerdEnv* env_copy = serd_env_copy(env); assert(serd_env_equals(env, env_copy)); + assert(!serd_env_equals(env, NULL)); + assert(!serd_env_equals(NULL, env)); + assert(serd_env_equals(NULL, NULL)); SerdNode* qualified2 = serd_env_expand(env_copy, foo_u); assert(serd_node_equals(qualified, foo_c)); -- cgit v1.2.1