Skip to content

Commit

Permalink
Replace intentional typo with typoless equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Feb 1, 2024
1 parent 52b01e4 commit 7ce841c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/statement.rs
Expand Up @@ -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);
Expand Down

0 comments on commit 7ce841c

Please sign in to comment.