Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Jun 20, 2023
1 parent 20312b7 commit f7398d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/empty_insert_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub async fn test(db: &DbConn) {

assert!(matches!(res, TryInsertResult::Inserted(_)));

let empty_insert = Bakery::insert_many(std::iter::empty())
let empty_insert = Bakery::insert_many(std::iter::empty::<bakery::ActiveModel>())
.on_empty_do_nothing()
.exec(db)
.await;
Expand Down

0 comments on commit f7398d1

Please sign in to comment.