mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Add phase and error number to CLI error messages.
FossilOrigin-Name: 7f87a298688c37bbad8fd2e1cf0e8fbcc36f0c211dcfa3685298525648dbe21b
This commit is contained in:
@ -53,7 +53,7 @@ do_test shell1-1.1.2 {
|
||||
# error on extra options
|
||||
do_test shell1-1.1.3 {
|
||||
catchcmd "test.db FOO test.db BAD" ".quit"
|
||||
} {1 {Error: near "FOO": syntax error}}
|
||||
} {1 {Error: in prepare, near "FOO": syntax error (1)}}
|
||||
|
||||
# -help
|
||||
do_test shell1-1.2.1 {
|
||||
@ -78,7 +78,7 @@ do_test shell1-1.3.2 {
|
||||
} {0 {}}
|
||||
do_test shell1-1.3.3 {
|
||||
catchcmd "-init FOO test.db BAD .quit" ""
|
||||
} {1 {Error: near "BAD": syntax error}}
|
||||
} {1 {Error: in prepare, near "BAD": syntax error (1)}}
|
||||
|
||||
# -echo print commands before execution
|
||||
do_test shell1-1.4.1 {
|
||||
|
Reference in New Issue
Block a user