From aee90633d309601902410946f38510a234af3da3 Mon Sep 17 00:00:00 2001 From: Lowie Deferme Date: Tue, 31 Oct 2023 11:05:24 +0100 Subject: [PATCH] increase line size --- inc/rvh_test.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/rvh_test.h b/inc/rvh_test.h index c6c4a90..352eafe 100644 --- a/inc/rvh_test.h +++ b/inc/rvh_test.h @@ -110,7 +110,7 @@ extern size_t test_table_size; #define TEST_START()\ const char* __test_name = __func__;\ bool test_status = true;\ - if(LOG_LEVEL >= LOG_INFO) printf(CBLU "%-70s" CDFLT, __test_name);\ + if(LOG_LEVEL >= LOG_INFO) printf(CBLU "%-85s" CDFLT, __test_name);\ if(LOG_LEVEL >= LOG_DETAIL) printf("\n"); #define TEST_REGISTER(test)\ @@ -119,11 +119,11 @@ extern size_t test_table_size; #define TEST_ASSERT(test, cond, ...) {\ if(LOG_LEVEL >= LOG_DETAIL){\ - size_t line_size = 60;\ + size_t line_size = 80;\ size_t size = strlen(test);\ - printf(CBLU "\t%-70.*s" CDFLT, line_size, test);\ + printf(CBLU "\t%-85.*s" CDFLT, line_size, test);\ for(int i = line_size; i < size; i+=line_size)\ - printf(CBLU "\n\t%-70.*s" CDFLT, line_size, &test[i]);\ + printf(CBLU "\n\t%-85.*s" CDFLT, line_size, &test[i]);\ printf("%s" CDFLT, (cond) ? CGRN "PASSED" : CRED "FAILED");\ if(!(cond)) { printf("\n\t("); printf(""__VA_ARGS__); printf(")"); }\ printf("\n");\