diff --git a/9unit.c b/9unit.c index 3471e70..90b2705 100644 --- a/9unit.c +++ b/9unit.c @@ -61,11 +61,11 @@ run_tests(void (*tests)(TestState *)) TestState s; init_TestState(&s); (*tests)(&s); + print_log(&s); printf("Tests run: %d\n", s.run); printf("Tests passed: %d\n", s.passed); printf("Tests failed: %d\n", s.failed); printf("Tests postponed: %d\n", s.postponed); - print_log(&s); clear_log(&s); }