diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-04-26 01:15:38 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-04-26 01:15:38 -0400 |
| commit | 2596f879f9cc8a6eab4fd2991d9639ef22753b62 (patch) | |
| tree | f3ad82e48b55a7ee716a54b2c8bcdd1f161d3a9c | |
| parent | 011dfefa478f7e280cf64641644dccffe4ae5b1b (diff) | |
| download | stasis-2596f879f9cc8a6eab4fd2991d9639ef22753b62.tar.gz | |
test_fix_tox_conf: Check lines and result
| -rw-r--r-- | tests/test_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_utils.c b/tests/test_utils.c index 4f89509..fd398e2 100644 --- a/tests/test_utils.c +++ b/tests/test_utils.c @@ -71,6 +71,8 @@ void test_fix_tox_conf() { } char **lines = file_readlines(result, 0, 0, NULL); + STASIS_ASSERT_FATAL(lines != NULL, "lines array should not be NULL"); + STASIS_ASSERT_FATAL(result != NULL, "result should not be NULL"); STASIS_ASSERT(strstr_array(lines, expected) != NULL, "{posargs} not found in result"); guard_array_free(lines); |
