mirror of
https://codeberg.org/JasterV/test-context.git
synced 2026-04-26 18:10:06 +00:00
fix: manual drop on tests
This commit is contained in:
parent
9227f3e693
commit
4dfe4c8919
1 changed files with 0 additions and 2 deletions
|
|
@ -228,7 +228,6 @@ impl AsyncTestContext for MyAsyncContext {
|
||||||
|
|
||||||
async fn teardown(self) {
|
async fn teardown(self) {
|
||||||
println!("Answer is {}", self.what_the_of_life);
|
println!("Answer is {}", self.what_the_of_life);
|
||||||
drop(self);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -255,7 +254,6 @@ impl TestContext for MyContext {
|
||||||
|
|
||||||
fn teardown(self) {
|
fn teardown(self) {
|
||||||
println!("Answer is {}", self.what_the_of_life);
|
println!("Answer is {}", self.what_the_of_life);
|
||||||
drop(self);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue