aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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));