aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-12-17 15:58:42 +0000
committerdrh <drh@noemail.net>2013-12-17 15:58:42 +0000
commitfc6ee9df22a16cba04e51a64aaa571fe8e78dcc1 (patch)
tree65eec6b1dc3543d779b63db25557c83b9a4b5908 /test
parenta5c1416d64b4b857721f085258b6ef1dcaeb6f5b (diff)
downloadsqlite-fc6ee9df22a16cba04e51a64aaa571fe8e78dcc1.tar.gz
sqlite-fc6ee9df22a16cba04e51a64aaa571fe8e78dcc1.zip
Fix the formatting of %c in the printf() SQL function.
FossilOrigin-Name: 3375571a5e267744c19a7c310840256cec57a242
Diffstat (limited to 'test')
-rw-r--r--test/printf2.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/printf2.test b/test/printf2.test
index 6a017f152..15babcf48 100644
--- a/test/printf2.test
+++ b/test/printf2.test
@@ -51,6 +51,9 @@ do_execsql_test printf2-1.11 {
do_execsql_test printf2-1.12 {
SELECT printf('%.*z',5,'abcdefghijklmnop');
} {abcde}
+do_execsql_test printf2-1.13 {
+ SELECT printf('%c','abcdefghijklmnop');
+} {a}
finish_test