commit ac62ea6912ade7d75c35184c464c8b19e08f8f56
Author:     Laslo Hunhold <d...@frign.de>
AuthorDate: Sun May 31 22:55:53 2020 +0200
Commit:     Laslo Hunhold <d...@frign.de>
CommitDate: Sun May 31 22:55:53 2020 +0200

    Actually increment number of failed decoding tests
    
    Signed-off-by: Laslo Hunhold <d...@frign.de>

diff --git a/src/test_body.c b/src/test_body.c
index b7cd6ff..92e2543 100644
--- 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",

Reply via email to