aboutsummaryrefslogtreecommitdiffstats
path: root/tests/serd_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-18 02:59:40 +0100
committerDavid Robillard <d@drobilla.net>2020-06-21 18:12:04 +0200
commit1db298c135f037513304c090b4634046a064fe24 (patch)
treed06ddf586baf524dfad10833836812e5fc13284a /tests/serd_test.c
parentb717579988e675a5e4e5e826ff33097112a87934 (diff)
downloadserd-1db298c135f037513304c090b4634046a064fe24.tar.gz
serd-1db298c135f037513304c090b4634046a064fe24.tar.bz2
serd-1db298c135f037513304c090b4634046a064fe24.zip
Improve Env test coverage
Diffstat (limited to 'tests/serd_test.c')
-rw-r--r--tests/serd_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c
index 605d43f3..970740bc 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -666,6 +666,9 @@ test_env(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));