Skip to content

Commit c577e46

Browse files
committed
Fix test
1 parent dec56db commit c577e46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ fn test_unix_connection() {
9696
}
9797

9898
let unix_socket_directory = unix_socket_directories.as_slice()
99-
.splitn(',', 1).next().unwrap();
99+
.split(',').next().unwrap();
100100

101101
let url = format!("postgres://postgres@{}", url::encode_component(unix_socket_directory));
102102
let conn = or_fail!(PostgresConnection::connect(url.as_slice(), &NoSsl));

0 commit comments

Comments
 (0)