Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: third_party/sqlite/src/test/printf2.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/test/printf.test ('k') | third_party/sqlite/src/test/progress.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 2013-12-17 1 # 2013-12-17
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } {{ 3.14}} 51 } {{ 3.14}}
52 do_execsql_test printf2-1.9 { 52 do_execsql_test printf2-1.9 {
53 SELECT printf('%d',314159.2653); 53 SELECT printf('%d',314159.2653);
54 } {314159} 54 } {314159}
55 do_execsql_test printf2-1.10 { 55 do_execsql_test printf2-1.10 {
56 SELECT printf('%lld',314159.2653); 56 SELECT printf('%lld',314159.2653);
57 } {314159} 57 } {314159}
58 do_execsql_test printf2-1.11 { 58 do_execsql_test printf2-1.11 {
59 SELECT printf('%lld%n',314159.2653,'hi'); 59 SELECT printf('%lld%n',314159.2653,'hi');
60 } {314159} 60 } {314159}
61 do_execsql_test printf2-1.12 {
62 SELECT printf('%n',0);
63 } {{}}
61 64
62 # EVIDENCE-OF: R-17002-27534 The %z format is interchangeable with %s. 65 # EVIDENCE-OF: R-17002-27534 The %z format is interchangeable with %s.
63 # 66 #
64 do_execsql_test printf2-1.12 { 67 do_execsql_test printf2-1.12 {
65 SELECT printf('%.*z',5,'abcdefghijklmnop'); 68 SELECT printf('%.*z',5,'abcdefghijklmnop');
66 } {abcde} 69 } {abcde}
67 do_execsql_test printf2-1.13 { 70 do_execsql_test printf2-1.13 {
68 SELECT printf('%c','abcdefghijklmnop'); 71 SELECT printf('%c','abcdefghijklmnop');
69 } {a} 72 } {a}
70 73
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 SELECT printf('|%8.8c|%-8.8c|','*','*'); 113 SELECT printf('|%8.8c|%-8.8c|','*','*');
111 } {|********|********|} 114 } {|********|********|}
112 do_execsql_test printf2-3.5 { 115 do_execsql_test printf2-3.5 {
113 SELECT printf('|%7.8c|%-7.8c|','*','*'); 116 SELECT printf('|%7.8c|%-7.8c|','*','*');
114 } {|********|********|} 117 } {|********|********|}
115 118
116 119
117 120
118 121
119 finish_test 122 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/printf.test ('k') | third_party/sqlite/src/test/progress.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698