diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-25 13:54:21 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-25 13:54:21 -0400 |
| commit | 3fabca0d4237b2fe5f6084b4eeda71c34efe9ec8 (patch) | |
| tree | 134b2548cdf013c3844c8e3bf762e3bcf8f12902 /src/stdlib | |
| parent | f5ddf6983da99c52806687220fcf60079011b285 (diff) | |
Update wording on expected text
Diffstat (limited to 'src/stdlib')
| -rw-r--r-- | src/stdlib/stdlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
