Mercurial > hg > th-libs
changeset 352:75b20d9bef64
Add few more tests.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 25 Feb 2016 09:17:23 +0200 |
parents | b040dc0f77cf |
children | 2bf43a139542 |
files | tests.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests.c Thu Feb 25 09:06:13 2016 +0200 +++ b/tests.c Thu Feb 25 09:17:23 2016 +0200 @@ -374,7 +374,7 @@ { const char c_val = 'x'; const char *c_msg = "x"; - char *c_fmts[] = { "a%cBC", "%c", "", "%0c", "%1c", "% c", "%-3c", "%3c", "%.3c", "%-.3c", "%-3.3c", "%.c" }; + char *c_fmts[] = { "a%cBC", "%c", "", "%0c", "%1c", "% c", "%-3c", "%3c", "%.3c", "%-.3c", "%-3.3c", "%.c", "%05c", "%-05c", }; for (i1 = 0; i1 < NCOUNT(c_fmts); i1++) test_snprintf(c_msg, c_fmts[i1], c_val);