■ ■ ■ ■ ■ ■
test/string/mutt_str_next_word.c
| skipped 53 lines |
54 | 54 | | struct NextWordTest *t = &word_tests[i]; |
55 | 55 | | TEST_CASE_("%ld, '%s'", i, NONULL(t->str)); |
56 | 56 | | const char *result = mutt_str_next_word(t->str); |
57 | | - | TEST_CHECK(result == (t->str + t->result)); |
| 57 | + | TEST_CHECK(result == (t->str ? t->str + t->result : NULL)); |
58 | 58 | | } |
59 | 59 | | } |
60 | 60 | | } |
| skipped 1 lines |