This commit is contained in:
gwenn 2023-11-25 10:47:38 +01:00
parent 8675e453f3
commit 9ebca71317

View File

@ -1508,11 +1508,7 @@ mod test {
fn test_execute_select_with_row() { fn test_execute_select_with_row() {
let db = checked_memory_handle(); let db = checked_memory_handle();
let err = db.execute("SELECT 1", []).unwrap_err(); let err = db.execute("SELECT 1", []).unwrap_err();
assert_eq!( assert_eq!(err, Error::ExecuteReturnedResults);
err,
Error::ExecuteReturnedResults,
"Unexpected error: {err}"
);
} }
#[test] #[test]