mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 07:11:36 +02: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:
@@ -44,3 +44,6 @@ sysinfo = "0.14"
|
||||
grin_wallet_util = { path = "../util", version = "5.1.0-alpha.1" }
|
||||
grin_wallet_config = { path = "../config", version = "5.1.0-alpha.1" }
|
||||
grin_wallet_libwallet = { path = "../libwallet", version = "5.1.0-alpha.1" }
|
||||
|
||||
[dev-dependencies]
|
||||
"remove_dir_all" = "0.7"
|
||||
@@ -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