Skip to content

Commit

Permalink
The clap::ArgEnum trait is no longer false-positively shown missing. (
Browse files Browse the repository at this point in the history
#435)

* The `clap::ArgEnum` trait is no longer false-positively shown missing.

* Update both checks.

* Update dependency versions.
  • Loading branch information
obi1kenobi authored Apr 21, 2023
1 parent a53106c commit b3b8c33
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 34 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ jobs:
- name: Check output
run: |
cd semver
EXPECTED="$(echo -e "--- failure auto_trait_impl_removed: auto trait no longer implemented ---\n--- failure trait_missing: pub trait removed or renamed ---")"
EXPECTED="$(echo -e "--- failure auto_trait_impl_removed: auto trait no longer implemented ---")"
RESULT="$(cat output | grep failure)"
diff <(echo "$RESULT") <(echo "$EXPECTED")
Expand Down Expand Up @@ -1118,7 +1118,7 @@ jobs:
- name: Check output
run: |
cd semver
EXPECTED="$(echo -e "--- failure auto_trait_impl_removed: auto trait no longer implemented ---\n--- failure trait_missing: pub trait removed or renamed ---")"
EXPECTED="$(echo -e "--- failure auto_trait_impl_removed: auto trait no longer implemented ---")"
RESULT="$(cat output | grep failure)"
diff <(echo "$RESULT") <(echo "$EXPECTED")
Expand Down
71 changes: 40 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories = ["command-line-utilities", "development-tools::cargo-plugins"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
trustfall = "0.4.0-beta.1"
trustfall = "0.4.0-beta.2"
trustfall_rustdoc = { version = "0.10.0", features = ["v21", "v22", "v23", "v24"] }
clap = { version = "4.0.0", features = ["derive", "cargo"] }
serde_json = "1.0.82"
Expand Down

0 comments on commit b3b8c33

Please # to comment.