diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-10-27 20:45:10 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-10-27 20:45:10 -0400 |
| commit | 33f1af8e7165bf137ce1be099d9a63964c409e8c (patch) | |
| tree | aefcff49d45afe713403aa7eacaacfa0cc2009c6 /stdlib/stdlib.c | |
| parent | 63a5032ca06cd9f9bfaea6b0ea077d49a3034654 (diff) | |
Fixes for places that used Text$find()
Diffstat (limited to 'stdlib/stdlib.c')
| -rw-r--r-- | stdlib/stdlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/stdlib.c b/stdlib/stdlib.c index 34acc828..d90f5748 100644 --- a/stdlib/stdlib.c +++ b/stdlib/stdlib.c @@ -441,7 +441,7 @@ public void end_test(const void *expr, const TypeInfo_t *type, const char *expec Text_t expr_plain = USE_COLOR ? generic_as_text(expr, false, type) : expr_text; bool success = Text$equal(&expr_plain, &expected_text); if (!success) { - Int_t colon = Text$find(expected_text, Text(":"), I_small(1), NULL); + Int_t colon = Text$find(expected_text, Text(":"), I_small(1)); if (colon.small != I_small(0).small) { Text_t with_type = Text$concat(expr_plain, Text(" : "), type_name); success = Text$equal(&with_type, &expected_text); |
