diff options
Diffstat (limited to 'test/test_environment.c')
-rw-r--r-- | test/test_environment.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_environment.c b/test/test_environment.c index dba7b90..8756441 100644 --- a/test/test_environment.c +++ b/test/test_environment.c @@ -111,6 +111,9 @@ test_failed_alloc(void) zix_failing_allocator_reset(&allocator, 2U); assert(!zix_expand_environment_strings(&allocator.base, "/one:$HOME/two")); + + zix_failing_allocator_reset(&allocator, 1U); + assert(!zix_expand_environment_strings(&allocator.base, "/one:$UNSET/two")); #endif } |