mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
test(mysql): adjust asserts for slight error format change
This commit is contained in:
parent
2ff36167b7
commit
4c0896bc14
@ -435,7 +435,7 @@ mod tests {
|
||||
|
||||
assert_eq!(
|
||||
err.to_string(),
|
||||
"2061 (HY000): Authentication plugin \'dialog\' reported error: interactive dialog authentication is currently not supported"
|
||||
"authentication plugin \'dialog\' reported error: interactive dialog authentication is currently not supported"
|
||||
);
|
||||
|
||||
Ok(())
|
||||
@ -454,10 +454,7 @@ mod tests {
|
||||
.connect::<MySqlConnection<Mock>, _>()
|
||||
.unwrap_err();
|
||||
|
||||
assert_eq!(
|
||||
err.to_string(),
|
||||
"2059 (HY000): Authentication plugin 'mysql_old_password' cannot be loaded"
|
||||
);
|
||||
assert_eq!(err.to_string(), "unknown authentication plugin: mysql_old_password");
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user