changeset 257:d56369f65941

Add test for '%c'.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 16 Feb 2016 22:27:26 +0200
parents 855f8dc6f123
children d746fd5975f4
files tests.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests.c	Tue Feb 16 22:27:00 2016 +0200
+++ b/tests.c	Tue Feb 16 22:27:26 2016 +0200
@@ -120,6 +120,8 @@
     for (i2 = 0; i2 < sizeof(s_fmts) / sizeof(s_fmts[0]); i2++)
         test_snprintf(s_fmts[i2], s_vals);
 
+    test_snprintf("a%cBC", 'x');
+
 
     //
     // Print summary and exit