changeset 306:a95b5e5c1cd5

Add a test.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 22 Feb 2016 20:19:35 +0200
parents 5afd918cbd79
children fa6113e556c5
files tests.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests.c	Mon Feb 22 20:19:26 2016 +0200
+++ b/tests.c	Mon Feb 22 20:19:35 2016 +0200
@@ -298,7 +298,7 @@
     if (test_set_start("printf() integer"))
     {
         int i_vals[] = { 2, 612342, -2, -612342, 0x1fff, 0x8000000, };
-        char *i_fmts[] = { "%d", "%x", "%05d", "%5d", "%-5d", "%05x", "%5x", "", "% 3d", "% 3o", "%+3o", "%+3d", };
+        char *i_fmts[] = { "%d", "%x", "%05d", "%5d", "%-5d", "%.5d", "%05x", "%5x", "", "% 3d", "% 3o", "%+3o", "%+3d", };
 
         for (i1 = 0; i1 < sizeof(i_vals) / sizeof(i_vals[0]); i1++)
         {