Updated test reporting formatting
This commit is contained in:
parent
2ec9d1d1a9
commit
a62008a3e0
|
|
@ -78,12 +78,12 @@ int main(void) {
|
|||
.total = 0,
|
||||
};
|
||||
|
||||
printf(" ===== SlsStr Tests =====\n");
|
||||
printf(" ========== SlsStr Tests ==========\n");
|
||||
test_report(run_string_tests(), &counts);
|
||||
printf(" ===== Lexer Tests =====\n");
|
||||
printf(" ========== Lexer Tests ==========\n");
|
||||
test_report(run_lexer_tests(), &counts);
|
||||
|
||||
printf(" ===== Tests Overview =====\n");
|
||||
printf(" ========== Tests Overview ==========\n");
|
||||
if (counts.errored > 0)
|
||||
// Bright Red
|
||||
printf("\x1b[91m%d of %d tests encountered an error.\n\x1b[0m", counts.errored, counts.total);
|
||||
|
|
|
|||
Loading…
Reference in New Issue