Skip to content

Commit c8bfd9b

Browse files
authored
Merge pull request diesel-rs#2024 from diesel-rs/sg-fix-test
Fix test which doesn't clean up after itself
2 parents 01ab3d6 + 4c9068d commit c8bfd9b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

diesel_tests/tests/filter.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,11 @@ fn filter_subselect_with_nullable_column() {
474474
.execute(&connection)
475475
.unwrap();
476476

477+
let _home_worlds = DropTable {
478+
connection: &connection,
479+
table_name: "home_worlds",
480+
};
481+
477482
create_table(
478483
"heros",
479484
(
@@ -485,6 +490,11 @@ fn filter_subselect_with_nullable_column() {
485490
.execute(&connection)
486491
.unwrap();
487492

493+
let _heros = DropTable {
494+
connection: &connection,
495+
table_name: "heros",
496+
};
497+
488498
::diesel::insert_into(home_worlds::table)
489499
.values(home_worlds::name.eq("Tatooine"))
490500
.execute(&connection)

0 commit comments

Comments
 (0)