mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-12-02 20:04:40 +01:00
Use remove_dir_all crate for more robust Windows CI (#604)
* Use `remove_dir_all` 0.7 in tests only
This commit is contained in:
@@ -104,7 +104,7 @@ mod tests {
|
||||
use grin_wallet_util::grin_core::global;
|
||||
|
||||
fn clean_output_dir(test_dir: &str) {
|
||||
let _ = fs::remove_dir_all(test_dir);
|
||||
let _ = remove_dir_all::remove_dir_all(test_dir);
|
||||
}
|
||||
|
||||
fn setup(test_dir: &str) {
|
||||
|
||||
@@ -264,7 +264,7 @@ mod tests {
|
||||
use crate::util::{self, secp, static_secp_instance};
|
||||
|
||||
pub fn clean_output_dir(test_dir: &str) {
|
||||
let _ = fs::remove_dir_all(test_dir);
|
||||
let _ = remove_dir_all::remove_dir_all(test_dir);
|
||||
}
|
||||
|
||||
pub fn setup(test_dir: &str) {
|
||||
|
||||
Reference in New Issue
Block a user