commit ac62ea6912ade7d75c35184c464c8b19e08f8f56
parent afe044b0750f681ec56b7c52eb74ada88c3543cc
Author: Laslo Hunhold <dev@frign.de>
Date: Sun, 31 May 2020 22:55:53 +0200
Actually increment number of failed decoding tests
Signed-off-by: Laslo Hunhold <dev@frign.de>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/test_body.c b/src/test_body.c
@@ -340,6 +340,7 @@ int main(void)
"Expected (%zx,%u), but got (%zx,%u)\n",
i, dec_test[i].exp_len,
dec_test[i].exp_cp, len, cp);
+ failed++;
}
}
printf("UTF-8 decoder test: Passed %zu out of %zu tests.\n",