From 3fabca0d4237b2fe5f6084b4eeda71c34efe9ec8 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 25 Mar 2025 13:54:21 -0400 Subject: Update wording on expected text --- src/stdlib/stdlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/stdlib/stdlib.c b/src/stdlib/stdlib.c index 5e3ecb18..e08a3977 100644 --- a/src/stdlib/stdlib.c +++ b/src/stdlib/stdlib.c @@ -622,8 +622,8 @@ public void test_value(const void *expr, const TypeInfo_t *type, const char *exp print_stack_trace(stderr, 2, 4); fprintf(stderr, USE_COLOR - ? "\n\x1b[31;7m ==================== TEST FAILED ==================== \x1b[0;1m\n\nExpected: \x1b[1;32m%s\x1b[0m\n\x1b[1m But got:\x1b[m %k\n\n" - : "\n==================== TEST FAILED ====================\n\nExpected: %s\n But got: %k\n\n", + ? "\n\x1b[31;7m ==================== TEST FAILED ==================== \x1b[0;1m\n\nYou Expected: \x1b[1;32m%s\x1b[0m\n\x1b[1m But I Got:\x1b[m %k\n\n" + : "\n==================== TEST FAILED ====================\n\nYou Expected: %s\n But I Got: %k\n\n", expected, &expr_text); fflush(stderr); -- cgit v1.2.3