1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

test-js: Include skipped tests in total test count

The current output is a bit strange:

    Tests:       3 skipped, 979 passed, 979 total

This makes more sense to me:

    Tests:       3 skipped, 979 passed, 982 total
This commit is contained in:
Linus Groh 2020-10-18 20:48:44 +01:00 committed by Andreas Kling
parent cce673e7b0
commit 03b817b130

View file

@ -567,7 +567,7 @@ void TestRunner::print_test_results() const
printf("%d passed, ", m_counts.tests_passed);
print_modifiers({ CLEAR });
}
printf("%d total\n", m_counts.tests_failed + m_counts.tests_passed);
printf("%d total\n", m_counts.tests_failed + m_counts.tests_skipped + m_counts.tests_passed);
printf("Files: %d total\n", m_counts.files_total);