We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaf61be commit e16fca8Copy full SHA for e16fca8
1 file changed
tests/test.rs
@@ -98,7 +98,7 @@ fn test_unix_connection() {
98
99
let unix_socket_directory = unix_socket_directories[].split(',').next().unwrap();
100
101
- let path = url::utf8_percent_encode(unix_socket_directory, url::PASSWORD_ENCODE_SET);
+ let path = url::utf8_percent_encode(unix_socket_directory, url::USERNAME_ENCODE_SET);
102
let url = format!("postgres://postgres@{}", path);
103
let conn = or_fail!(PostgresConnection::connect(url[], &NoSsl));
104
assert!(conn.finish().is_ok());
0 commit comments