Skip to content

Commit 00f3962

Browse files
committed
Try to fix test
1 parent a59e3a4 commit 00f3962

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

diesel_tests/tests/joins.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use super::schema::*;
1+
use schema::*;
22
use diesel::*;
33

44
#[test]
@@ -678,13 +678,13 @@ fn connection_with_fixture_data_for_multitable_joins() -> (TestConnection, TestD
678678
.order(posts::id)
679679
.load::<Post>(&connection)
680680
.unwrap();
681-
let new_comments = vec![
681+
let new_comments: &[NewComment<'static>] = &[
682682
NewComment(posts[0].id, "First Comment"),
683683
NewComment(posts[2].id, "Second Comment"),
684684
NewComment(posts[0].id, "Third Comment"),
685685
];
686686
insert_into(comments::table)
687-
.values(&new_comments)
687+
.values(new_comments)
688688
.execute(&connection)
689689
.unwrap();
690690

0 commit comments

Comments
 (0)