commit ca217985d98968b38044cb5a76dd2c95eed3001a
parent 4273eea6d43571e678bdfaaff62848d2bef356ca
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 15 Sep 2021 15:14:49 +0300
test_postprocessor: improved error reporting
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/test_postprocessor.c b/src/microhttpd/test_postprocessor.c
@@ -255,8 +255,9 @@ test_urlencoding_case (unsigned int want_start,
if (want_off != want_end)
{
fprintf (stderr,
- "Test failed in line %u: %u != %u\n",
+ "Test failed in line %u.\tStep:%u\n Got: %u\tExpected: %u\n",
(unsigned int) __LINE__,
+ (unsigned int) step,
want_off,
want_end);
return 1;