Skip to content

Commit 75ea722

Browse files
chore: fix Clippy issues for Rust 1.88
1 parent 12e2fc0 commit 75ea722

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/storage/shield-sea-orm/tests/migration.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub fn migrations() {
3030
.arg("-d")
3131
.arg(example_path())
3232
.status()
33-
.unwrap_or_else(|_| panic!("{} up migrations should succeed.", backend))
33+
.unwrap_or_else(|_| panic!("{backend} up migrations should succeed."))
3434
.success()
3535
);
3636

@@ -44,7 +44,7 @@ pub fn migrations() {
4444
.arg("-d")
4545
.arg(example_path())
4646
.status()
47-
.unwrap_or_else(|_| panic!("{} down migrations should succeed.", backend))
47+
.unwrap_or_else(|_| panic!("{backend} down migrations should succeed."))
4848
.success()
4949
);
5050

@@ -58,7 +58,7 @@ pub fn migrations() {
5858
.arg("-d")
5959
.arg(example_path())
6060
.status()
61-
.unwrap_or_else(|_| panic!("{} cleanup should succeed.", backend))
61+
.unwrap_or_else(|_| panic!("{backend} cleanup should succeed."))
6262
.success()
6363
);
6464
}

0 commit comments

Comments
 (0)