diff options
author | David Robillard <d@drobilla.net> | 2019-03-18 02:59:40 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | ffe660fe7a8cf97416b47a81080f4229874c5e89 (patch) | |
tree | 44d31c1121fed195e7d7c1dac39a9e2654b8365d | |
parent | 7e15cdbd8ce83771098a90d70b086f833ab0941f (diff) | |
download | serd-ffe660fe7a8cf97416b47a81080f4229874c5e89.tar.gz serd-ffe660fe7a8cf97416b47a81080f4229874c5e89.tar.bz2 serd-ffe660fe7a8cf97416b47a81080f4229874c5e89.zip |
Improve Env test coverage
-rw-r--r-- | tests/serd_test.c | 3 |
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)); |