Replace intentional typo with typoless equivalent

This commit is contained in:
John Vandenberg 2024-02-01 17:44:01 +08:00
parent 52b01e40b2
commit 7ce841cd63

View File

@ -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);