[hackers] [libgrapheme] Actually increment number of failed decoding tests || Laslo Hunhold

From: <git_AT_suckless.org>
Date: Sun, 31 May 2020 22:56:38 +0200 (CEST)

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

    Actually increment number of failed decoding tests
    
    Signed-off-by: Laslo Hunhold <dev_AT_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
_AT_@ -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",
Received on Sun May 31 2020 - 22:56:38 CEST

This archive was generated by hypermail 2.3.0 : Sun May 31 2020 - 23:00:34 CEST