diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-01-09 18:23:20 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-01-09 18:23:20 +0100 |
| commit | 67a5f942d573b94ce9b20d19088be075ad433d78 (patch) | |
| tree | f15613c0ccaa1d48b5091c375980991f1891cdeb /src/archiver/gopher.rs | |
| parent | 98d323f5e86df5eab2218ae879da68ae3cb5230a (diff) | |
Cleanup test directories
Diffstat (limited to 'src/archiver/gopher.rs')
| -rw-r--r-- | src/archiver/gopher.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/archiver/gopher.rs b/src/archiver/gopher.rs index aa584ab..77f23b9 100644 --- a/src/archiver/gopher.rs +++ b/src/archiver/gopher.rs @@ -47,6 +47,7 @@ mod tests { archive(&test_dir, &template_dir, &output_dir, &context).expect("Archive failed"); assert_file_contents(&output_dir.join("index.gph"), "Simple things"); + cleanup_test_dir(&test_dir); } #[test] @@ -65,6 +66,7 @@ mod tests { let result = archive(&test_dir, &template_dir, &output_dir, &context); assert!(result.is_err()); + cleanup_test_dir(&test_dir); } #[test] @@ -82,5 +84,6 @@ mod tests { let result = archive(&test_dir, &template_dir, &output_dir, &context); assert!(result.is_err()); + cleanup_test_dir(&test_dir); } } |