Updated test reporting formatting

This commit is contained in:
Kyler Olsen 2025-11-11 20:12:14 -07:00
parent 2ec9d1d1a9
commit a62008a3e0
1 changed files with 3 additions and 3 deletions

View File

@ -78,12 +78,12 @@ int main(void) {
.total = 0, .total = 0,
}; };
printf(" ===== SlsStr Tests =====\n"); printf(" ========== SlsStr Tests ==========\n");
test_report(run_string_tests(), &counts); test_report(run_string_tests(), &counts);
printf(" ===== Lexer Tests =====\n"); printf(" ========== Lexer Tests ==========\n");
test_report(run_lexer_tests(), &counts); test_report(run_lexer_tests(), &counts);
printf(" ===== Tests Overview =====\n"); printf(" ========== Tests Overview ==========\n");
if (counts.errored > 0) if (counts.errored > 0)
// Bright Red // Bright Red
printf("\x1b[91m%d of %d tests encountered an error.\n\x1b[0m", counts.errored, counts.total); printf("\x1b[91m%d of %d tests encountered an error.\n\x1b[0m", counts.errored, counts.total);