aboutsummaryrefslogtreecommitdiff
path: root/test/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test.c b/test/test.c
index b232e4c..c0ef935 100644
--- a/test/test.c
+++ b/test/test.c
@@ -38,9 +38,10 @@ static int32_t kpl_test_error_list(void) {
return KPL_EXIT_CODE_SUCCESS;
}
printf(KPL_COLOR2(BOLD, LIGHT_RED) "FAILED TEST COUNT:" KPL_COLOR(RESET)
- KPL_COLOR(WHITE) " %d\n" KPL_COLOR(RESET), _kpl_test_error_count);
+ KPL_COLOR(WHITE) " %d\n\n" KPL_COLOR(RESET), _kpl_test_error_count);
while (_kpl_error_head) {
kpl_test_report_error(_kpl_error_head, false);
+ putchar('\n');
_kpl_error_head = _kpl_error_head->next_test;
}
return KPL_EXIT_CODE_ERROR;
@@ -141,8 +142,8 @@ int32_t main(int32_t argc, char *argv[]) {
KPL_TEST(test_pass_by_default) {
// Pass by default
- // Uncomment below to fail
- // KPL_FAIL("Failure Message");
+ // Uncomment below to f ail
+ KPL_FAIL("Failure Message");
}
KPL_TEST(test_counting) {