Skip to content

Commit 80a38a4

Browse files
committed
Try to fix ci (4. round)
1 parent 670cbcd commit 80a38a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async fn test_basic_insert_and_load() -> QueryResult<()> {
7878
}
7979

8080
#[cfg(feature = "mysql")]
81-
async fn setup(connection: &mut TestConnection) -> TestConnection {
81+
async fn setup(connection: &mut TestConnection) {
8282
diesel::sql_query(
8383
"CREATE TABLE IF NOT EXISTS users (
8484
id INTEGER PRIMARY KEY AUTO_INCREMENT,
@@ -91,7 +91,7 @@ async fn setup(connection: &mut TestConnection) -> TestConnection {
9191
}
9292

9393
#[cfg(feature = "postgres")]
94-
async fn setup(connection: &mut TestConnection) -> TestConnection {
94+
async fn setup(connection: &mut TestConnection) {
9595
diesel::sql_query(
9696
"CREATE TABLE IF NOT EXISTS users (
9797
id SERIAL PRIMARY KEY,

0 commit comments

Comments
 (0)