Skip to content

Commit 1e859de

Browse files
committed
Updated test
1 parent 2d1b59e commit 1e859de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,9 @@ mod tests {
325325
file.read_to_string(&mut contents).unwrap();
326326
assert_eq!(contents, "value2");
327327

328-
// Clean up the test directory.
328+
// Clean up the files and the test directory.
329+
std::fs::remove_file(output_directory.join("key1.txt")).unwrap();
330+
std::fs::remove_file(output_directory.join("key2.txt")).unwrap();
329331
std::fs::remove_dir(output_directory).unwrap();
330332
}
331333
}

0 commit comments

Comments
 (0)