changeset 290:01e7edd68075

More tests.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 22 Feb 2016 14:45:20 +0200
parents 7122026b0ece
children 146cfd1dc744
files tests.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests.c	Mon Feb 22 14:31:29 2016 +0200
+++ b/tests.c	Mon Feb 22 14:45:20 2016 +0200
@@ -263,7 +263,7 @@
     if (test_set_start("printf() function family #1"))
     {
         int i_vals[] = { 2, 612342, -2, -612342, 0x1fff, 0x8000000, };
-        char *i_fmts[] = { "%d", "%x", "%05d", "%5d", "%-5d", "%05x", "%5x", "", };
+        char *i_fmts[] = { "%d", "%x", "%05d", "%5d", "%-5d", "%05x", "%5x", "", "% 3d", "% 3o", "%+3o", "%+3d", };
 
         for (i1 = 0; i1 < sizeof(i_vals) / sizeof(i_vals[0]); i1++)
         for (i2 = 0; i2 < sizeof(i_fmts) / sizeof(i_fmts[0]); i2++)