diff options
Diffstat (limited to 'main/test.c')
-rw-r--r-- | main/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/test.c b/main/test.c index 02cb32b94..4cf483b2b 100644 --- a/main/test.c +++ b/main/test.c @@ -281,7 +281,7 @@ static int test_execute_multiple(const char *name, const char *category, struct last_results.last_time += test->time; if (test->state == AST_TEST_PASS) { last_results.last_passed++; - } else { + } else if (test->state == AST_TEST_FAIL) { last_results.last_failed++; } |