diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-05-31 13:45:53 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-05-31 18:03:26 +0200 |
commit | a3dd2121847584242475bbb6580c4120c547630c (patch) | |
tree | 0f39b8f52b4057aaa68b6d4969ce8efb4a849527 | |
parent | 6c9029b996073959787c3bf72d1d397127075219 (diff) |
assert_fs: 0.11 -> 1
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | tests/ui/Cargo.toml | 2 | ||||
-rw-r--r-- | tests/ui/src/imag.rs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/ui/Cargo.toml b/tests/ui/Cargo.toml index 922334ac..7cb4b9ee 100644 --- a/tests/ui/Cargo.toml +++ b/tests/ui/Cargo.toml @@ -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" diff --git a/tests/ui/src/imag.rs b/tests/ui/src/imag.rs index 5b64b6ba..8c239e71 100644 --- a/tests/ui/src/imag.rs +++ b/tests/ui/src/imag.rs @@ -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 { |