~matthiasbeyer/imag

a3dd2121847584242475bbb6580c4120c547630c — Matthias Beyer 1 year, 3 months ago 6c9029b
assert_fs: 0.11 -> 1

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2 files changed, 4 insertions(+), 2 deletions(-)

M tests/ui/Cargo.toml
M tests/ui/src/imag.rs
M tests/ui/Cargo.toml => tests/ui/Cargo.toml +1 -1
@@ 12,7 12,7 @@ publish = false

[dependencies]
assert_cmd        = "1"
assert_fs         = "0.11"
assert_fs         = "1"
duct              = "0.13"
env_logger        = "0.7"
log               = "0.4"

M tests/ui/src/imag.rs => tests/ui/src/imag.rs +3 -1
@@ 25,7 25,9 @@ use assert_cmd::prelude::*;
use assert_cmd::assert::Assert;

pub fn make_temphome() -> TempDir {
    TempDir::new().unwrap().persist_if(std::env::var("IMAG_UI_TEST_PERSIST").is_ok())
    TempDir::new()
        .unwrap()
        .into_persistent_if(std::env::var("IMAG_UI_TEST_PERSIST").is_ok())
}

pub fn binary(tempdir: &TempDir, binary_name: &str) -> Command {