huniq icon indicating copy to clipboard operation
huniq copied to clipboard

Tests rely on deprecated `assert_cmd::cargo_bin` which will break on future Cargo versions

Open epage opened this issue 4 weeks ago • 0 comments

https://github.com/koraa/huniq/blob/1078e77688187e8979499c93cab3ac5eedab80a9/tests/tests.rs#L33

cargo_bin relies on implementation details of cargo that will soon break (rust-lang/cargo#16147, rust-lang/cargo#15010).

You can test this by running:

CARGO_BUILD_BUILD_DIR="{cargo-cache-home}/build/{workspace-path-hash}" cargo test

The replacement is assert_cmd::cargo_bin!

epage avatar Dec 18 '25 21:12 epage