aboutsummaryrefslogtreecommitdiff
path: root/b3sum
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2020-05-13 17:47:29 -0400
committerJack O'Connor <[email protected]>2020-05-13 17:47:59 -0400
commit5030c0f1c345b8ccf40ecd7cf540d1bce562895c (patch)
tree37fda4a042325a5edd68d0d58ef7f47b062fa09f /b3sum
parentc6a99dbb239522b1f99950faefc2b072ee3b1a53 (diff)
switch from assert_cmd to CARGO_BIN_EXE_*
Diffstat (limited to 'b3sum')
-rw-r--r--b3sum/Cargo.toml1
-rw-r--r--b3sum/tests/cli_tests.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/b3sum/Cargo.toml b/b3sum/Cargo.toml
index 735e950..86fa83c 100644
--- a/b3sum/Cargo.toml
+++ b/b3sum/Cargo.toml
@@ -22,6 +22,5 @@ memmap = "0.7.0"
rayon = "1.2.1"
[dev-dependencies]
-assert_cmd = "0.12.0"
duct = "0.13.3"
tempfile = "3.1.0"
diff --git a/b3sum/tests/cli_tests.rs b/b3sum/tests/cli_tests.rs
index fd1824e..fd01a70 100644
--- a/b3sum/tests/cli_tests.rs
+++ b/b3sum/tests/cli_tests.rs
@@ -5,7 +5,7 @@ use std::io::prelude::*;
use std::path::PathBuf;
pub fn b3sum_exe() -> PathBuf {
- assert_cmd::cargo::cargo_bin("b3sum")
+ env!("CARGO_BIN_EXE_b3sum").into()
}
#[test]