mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 05:48:56 +08:00 
			
		
		
		
	Replace intentional typo with typoless equivalent
This commit is contained in:
		| @@ -1353,7 +1353,7 @@ mod test { | |||||||
|     fn test_error_offset() -> Result<()> { |     fn test_error_offset() -> Result<()> { | ||||||
|         use crate::ffi::ErrorCode; |         use crate::ffi::ErrorCode; | ||||||
|         let db = Connection::open_in_memory()?; |         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() { |         match r.unwrap_err() { | ||||||
|             Error::SqlInputError { error, offset, .. } => { |             Error::SqlInputError { error, offset, .. } => { | ||||||
|                 assert_eq!(error.code, ErrorCode::Unknown); |                 assert_eq!(error.code, ErrorCode::Unknown); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user