Skip to content

Commit

Permalink
Make testfile deletion more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
cd-work committed Nov 29, 2023
1 parent 34d7229 commit 80d1a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/delete_before_lockdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn setup() -> TestSetup {
let mut sandbox = Birdcage::new();
sandbox.add_exception(Exception::Read(tempfile.path().into())).unwrap();

drop(tempfile);
tempfile.close().unwrap();

TestSetup { sandbox, data: String::new() }
}
Expand Down

0 comments on commit 80d1a31

Please sign in to comment.