From 3c82a1f8fa015b74c8e0b426c21189acb95368fa Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Tue, 9 Aug 2022 21:18:21 +0400 Subject: Add tests --- source/kit_test/test.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/kit_test/test.c') diff --git a/source/kit_test/test.c b/source/kit_test/test.c index 07c8871..0e8ca4b 100644 --- a/source/kit_test/test.c +++ b/source/kit_test/test.c @@ -144,5 +144,14 @@ int kit_run_tests(int argc, char **argv) { status = 1; } + if (status == 0) { + color_code(term_color, green); + printf("OK\n"); + } else { + color_code(term_color, red); + printf("FAILED\n"); + } + + color_code(term_color, white); return status; } -- cgit v1.2.3