diff --git a/Cargo.lock b/Cargo.lock index 3e7307a..94256dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "aho-corasick" @@ -68,13 +68,12 @@ checksum = "c042108f3ed77fd83760a5fd79b53be043192bb3b9dba91d8c574c0ada7850c8" [[package]] name = "assert_cmd" -version = "2.0.16" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc1835b7f27878de8525dc71410b5a31cdcc5f230aed5ba5df968e09c201b23d" +checksum = "9c5bcfa8749ac45dd12cb11055aeeb6b27a3895560d60d71e3c23bf979e60514" dependencies = [ "anstyle", "bstr", - "doc-comment", "libc", "predicates", "predicates-core", @@ -193,12 +192,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" -[[package]] -name = "doc-comment" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - [[package]] name = "errno" version = "0.3.9" diff --git a/Cargo.toml b/Cargo.toml index fc4e82d..1bccfc9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ version = "4" features = ["derive", "wrap_help"] [dev-dependencies] -assert_cmd = "2.0" +assert_cmd = "2.1" predicates = "3.0" pretty_assertions = "1.4.0" diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index 557bd29..fcc372b 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -1,7 +1,7 @@ use assert_cmd::Command; fn hexyl() -> Command { - let mut cmd = Command::cargo_bin("hexyl").unwrap(); + let mut cmd = Command::new(assert_cmd::cargo_bin!("hexyl")); cmd.current_dir("tests/examples"); cmd }