OLD | NEW |
1 # 2009 Dec 16 | 1 # 2009 Dec 16 |
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 } {0 {}} | 115 } {0 {}} |
116 do_test shell3-2.6 { | 116 do_test shell3-2.6 { |
117 catchcmd "foo.db" ".tables" | 117 catchcmd "foo.db" ".tables" |
118 } {0 {}} | 118 } {0 {}} |
119 do_test shell3-2.7 { | 119 do_test shell3-2.7 { |
120 catchcmd "foo.db" "CREATE TABLE" | 120 catchcmd "foo.db" "CREATE TABLE" |
121 } {1 {Error: incomplete SQL: CREATE TABLE}} | 121 } {1 {Error: incomplete SQL: CREATE TABLE}} |
122 | 122 |
123 | 123 |
124 puts "CLI tests completed successfully" | 124 puts "CLI tests completed successfully" |
OLD | NEW |