mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Add the %z format to the sqlite_mprintf() and related functions. (CVS 1028)
FossilOrigin-Name: eca1398eaac67d772aff2676a470d9a6d96a93ca
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is testing the sqlite_*_printf() interface.
|
||||
#
|
||||
# $Id: printf.test,v 1.5 2002/06/16 04:56:37 chw Exp $
|
||||
# $Id: printf.test,v 1.6 2003/06/16 03:08:19 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -111,4 +111,8 @@ do_test printf-5.3 {
|
||||
sqlite_mprintf_str {%% %d %d (%=10s)} 5 6 Hello
|
||||
} {% 5 6 ( Hello )}
|
||||
|
||||
do_test printf-6.1 {
|
||||
sqlite_mprintf_z_test , one two three four five six
|
||||
} {,one,two,three,four,five,six}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user