mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-29 23:43:02 +08:00
fix test so it can run more than once
This commit is contained in:
@@ -2358,6 +2358,10 @@ mod test {
|
||||
|
||||
#[test]
|
||||
fn test_marf_unconfirmed() {
|
||||
if fs::metadata("/tmp/test_marf_unconfirmed").is_ok() {
|
||||
fs::remove_file("/tmp/test_marf_unconfirmed").unwrap();
|
||||
}
|
||||
|
||||
let f = TrieFileStorage::<StacksBlockId>::open_unconfirmed("/tmp/test_marf_unconfirmed").unwrap();
|
||||
let mut marf = MARF::<StacksBlockId>::from_storage(f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user