Fixed tests and documentation.
This commit is contained in:
@@ -210,7 +210,6 @@ large_number() ->
|
||||
Query1 = io_lib:format("select ~p, ~p", [N1, N2]),
|
||||
?assertEqual([{N1, N2}], rows(sqlite3:sql_exec(ct, Query1))),
|
||||
Query2 = "select ?, ?",
|
||||
?debugMsg("Error message \"sqlite3 driver error: bind or column index out of range\" should be shown..."),
|
||||
?assertEqual([{N1, N2}], rows(sqlite3:sql_exec(ct, Query2, [N1, N2]))),
|
||||
?assertNot([{N1 + 1, N2 - 1}] == rows(sqlite3:sql_exec(ct, Query2, [N1 + 1, N2 - 1]))).
|
||||
|
||||
@@ -262,7 +261,6 @@ script_test() ->
|
||||
"INSERT INTO person (id) VALUES (2);",
|
||||
" "
|
||||
], "\n"),
|
||||
?WARN_ERROR_MESSAGE,
|
||||
?assertEqual(
|
||||
[ok, ok, ok],
|
||||
sqlite3:sql_exec_script(script, Script)),
|
||||
|
||||
Reference in New Issue
Block a user