Skip to content

Commit c8c9343

Browse files
committed
test: Fix CLI tests compatibility with future Cargo versions
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
1 parent 4647128 commit c8c9343

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
- Update `html5ever` to `0.36`.
99
- Update `selectors` to `0.33`.
1010

11+
### Fixed
12+
13+
- CLI tests compatibility with future Cargo versions. [#602](https://github.com/Stranger6667/css-inline/issues/602)
14+
1115
## [0.18.0] - 2025-11-01
1216

1317
### Added

css-inline/tests/test_cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
use assert_cmd::Command;
1+
use assert_cmd::{cargo::cargo_bin_cmd, Command};
22

33
fn css_inline() -> Command {
4-
Command::cargo_bin("css-inline").unwrap()
4+
cargo_bin_cmd!("css-inline")
55
}
66

77
#[cfg(feature = "cli")]

0 commit comments

Comments
 (0)