aboutsummaryrefslogtreecommitdiff
path: root/src/archiver/gopher.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/archiver/gopher.rs')
-rw-r--r--src/archiver/gopher.rs3
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);
}
}