diff options
Diffstat (limited to 'test/_case-test.h')
-rw-r--r-- | test/_case-test.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/_case-test.h b/test/_case-test.h index 91e928c..c837042 100644 --- a/test/_case-test.h +++ b/test/_case-test.h @@ -66,21 +66,21 @@ test(const char8_t *line, int id) char8_t *buf = bufalloc(nullptr, 1, after.len); size_t bufsz = FUNC(nullptr, 0, before, cf); if (bufsz != after.len) { - warn("case %d: expected %s buffer size of %zu but got %zu (flags=‘%.*s’)", - id, STR(CASETYPE_VERB), after.len, bufsz, SV_PRI_ARGS(flags)); + warn("case %d: expected %s buffer size of %zu but got %zu", + id, STR(CASETYPE_VERB), after.len, bufsz); return false; } bufsz = FUNC(buf, bufsz, before, cf); if (bufsz != after.len) { - warn("case %d: expected %scased length of %zu but got %zu (flags=‘%.*s’)", - id, STR(CASETYPE_VERB), after.len, bufsz, SV_PRI_ARGS(flags)); + warn("case %d: expected %scased length of %zu but got %zu", + id, STR(CASETYPE_VERB), after.len, bufsz); return false; } if (!memeq(buf, after.p, bufsz)) { - warn("case %d: expected ‘%.*s’ but got ‘%.*s’ (flags=‘%.*s’)", - id, SV_PRI_ARGS(after), (int)bufsz, buf, SV_PRI_ARGS(flags)); + warn("case %d: expected ‘%.*s’ but got ‘%.*s’", + id, SV_PRI_ARGS(after), (int)bufsz, buf); return false; } |