Use tempdir for tests (#993)
* Use tempdir for tests
* Rename tmp to tempdir
* Update Cargo.lock
* Update expect error message in run_command_and_kill
* Call with .path() rather than creating an string slice
* Call tempdir with arg instead of args
* Update tests/purge_chain_works.rs
Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
... | ... | @@ -17,6 +17,7 @@ parity-util-mem = { version = "*", default-features = false, features = ["jemall |
[dev-dependencies] | ||
assert_cmd = "0.12" | ||
nix = "0.17" | ||
tempfile = "3.1.0" | ||
[workspace] | ||
members = [ | ||
... | ... |
Please register or sign in to comment