Skip to content

Commit

Permalink
remove test fail case
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJepsen committed Oct 10, 2023
1 parent 3c908ae commit 3fa3b5e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bin/fork/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ fn write_out() {
assert!(disk_op.is_ok());
});

let remove_op = fs::remove_file(PATH_TO_DISK_STORAGE);
assert!(remove_op.is_ok());
fs::remove_file(PATH_TO_DISK_STORAGE).unwrap();

}

#[test]
Expand All @@ -51,6 +51,5 @@ fn read_in() {
let forked_db = Fork::from_disk(PATH_TO_DISK_STORAGE);
assert!(forked_db.is_ok());
});
let remove_op = fs::remove_file(PATH_TO_DISK_STORAGE);
assert!(remove_op.is_ok());
fs::remove_file(PATH_TO_DISK_STORAGE).unwrap();
}

0 comments on commit 3fa3b5e

Please sign in to comment.