diff --git a/CHANGELOG.md b/CHANGELOG.md index 39b34af4..e1080333 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ - Update `html5ever` to `0.36`. - Update `selectors` to `0.33`. +### Fixed + +- CLI tests compatibility with future Cargo versions. [#602](https://github.com/Stranger6667/css-inline/issues/602) + ## [0.18.0] - 2025-11-01 ### Added diff --git a/css-inline/tests/test_cli.rs b/css-inline/tests/test_cli.rs index 3d48a85f..49d9fe08 100644 --- a/css-inline/tests/test_cli.rs +++ b/css-inline/tests/test_cli.rs @@ -1,7 +1,7 @@ -use assert_cmd::Command; +use assert_cmd::{cargo::cargo_bin_cmd, Command}; fn css_inline() -> Command { - Command::cargo_bin("css-inline").unwrap() + cargo_bin_cmd!("css-inline") } #[cfg(feature = "cli")]