Skip to content

test: stop using deprecated assert_cmd cargo_bin helper#1078

Closed
SergioChan wants to merge 1 commit intoJohnnyMorganz:mainfrom
SergioChan:fix-1056-assert-cargo-bin
Closed

test: stop using deprecated assert_cmd cargo_bin helper#1078
SergioChan wants to merge 1 commit intoJohnnyMorganz:mainfrom
SergioChan:fix-1056-assert-cargo-bin

Conversation

@SergioChan
Copy link

Summary

  • replace deprecated assert_cmd::Command::cargo_bin(...) usage in tests/test_editorconfig.rs
  • use assert_cmd::cargo::cargo_bin! with Command::new(...) to follow the recommended API and avoid future Cargo breakage

Testing

Related

Fixes #1056

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants