Skip to content

Commit 1ccdaf3

Browse files
committed
Fix: Normalize error message case in prepare statement test
1 parent 8453bfa commit 1ccdaf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/odbc/odbc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ async fn it_handles_prepare_statement_errors() -> anyhow::Result<()> {
794794
},
795795
Err(sqlx_oldapi::Error::Database(err)) => {
796796
assert!(
797-
err.to_string().contains("idonotexist"),
797+
err.to_string().to_lowercase().contains("idonotexist"),
798798
"{:?} should contain 'idonotexist'",
799799
err
800800
);

0 commit comments

Comments
 (0)