fix formatting err
@@ -319,10 +319,7 @@ fn ssl_ca_tests() {
assert_eq!(None, conn_opts.port);
assert_eq!(cstring(username), conn_opts.user);
assert_eq!(cstring(password), conn_opts.password.unwrap());
- assert_eq!(
- CString::new(ssl_ca).unwrap(),
- conn_opts.ssl_ca.unwrap()
- );
+ assert_eq!(CString::new(ssl_ca).unwrap(), conn_opts.ssl_ca.unwrap());
let url_with_unix_str_and_ssl_ca = format!(
"mysql://{}:{}@localhost?unix_socket=/var/run/mysqld.sock&ssl_ca={}",
@@ -332,10 +329,7 @@ fn ssl_ca_tests() {
let conn_opts2 = ConnectionOptions::parse(url_with_unix_str_and_ssl_ca.as_str()).unwrap();
assert_eq!(None, conn_opts2.host);
assert_eq!(None, conn_opts2.port);
- assert_eq!(
- CString::new(ssl_ca).unwrap(),
- conn_opts2.ssl_ca.unwrap()
- );
+ assert_eq!(CString::new(ssl_ca).unwrap(), conn_opts2.ssl_ca.unwrap());
}
#[test]
