mirror of
https://github.com/isar/rusqlite.git
synced 2025-03-29 00:32:57 +08:00
Replace intentional typo with typoless equivalent
This commit is contained in:
parent
52b01e40b2
commit
7ce841cd63
@ -1353,7 +1353,7 @@ mod test {
|
||||
fn test_error_offset() -> Result<()> {
|
||||
use crate::ffi::ErrorCode;
|
||||
let db = Connection::open_in_memory()?;
|
||||
let r = db.execute_batch("SELECT CURRENT_TIMESTANP;");
|
||||
let r = db.execute_batch("SELECT INVALID_FUNCTION;");
|
||||
match r.unwrap_err() {
|
||||
Error::SqlInputError { error, offset, .. } => {
|
||||
assert_eq!(error.code, ErrorCode::Unknown);
|
||||
|
Loading…
x
Reference in New Issue
Block a user