diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-02 21:18:15 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-02 21:18:15 -0400 |
| commit | cac560fdc3f8fb0a0a5d6570c8e9f05f2908475a (patch) | |
| tree | bf76a4e9e66be0d412fe4e2eb1ad575744468297 /builtins/functions.c | |
| parent | 55d758c3c467fdb5b2b5e647a84502afbb35a4ce (diff) | |
Text fixes
Diffstat (limited to 'builtins/functions.c')
| -rw-r--r-- | builtins/functions.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/builtins/functions.c b/builtins/functions.c index 1628d303..06636cba 100644 --- a/builtins/functions.c +++ b/builtins/functions.c @@ -218,13 +218,10 @@ public void end_test(void *expr, const TypeInfo *type, const char *expected, con Text_t expr_plain = USE_COLOR ? generic_as_text(expr, false, type) : expr_text; bool success = Text$equal(&expr_plain, &expected_text); if (!success) { - printf("Not equal: %k vs %k\n", &expr_plain, &expected_text); Int_t colon = Text$find(expected_text, Text$from_str(":"), I_small(0), NULL); if (colon.small != I_small(0).small) { Text_t with_type = Text$concat(expr_plain, Text$from_str(" : "), type_name); success = Text$equal(&with_type, &expected_text); - if (!success) - printf("Not equal: %k vs %k\n", &with_type, &expected_text); } } |
