mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-25 14:50:04 +00:00
e2e-tests: Check version of installed crates (#1119)
and also test `fetch_crate_cratesio_version_matched` in `e2e-tests/live.sh`. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
f1bfe23672
commit
b876bdc8c7
5 changed files with 67 additions and 7 deletions
|
@ -15,4 +15,7 @@ cp "./$1" "$othertmpdir/bin/"
|
|||
|
||||
cargo binstall --no-confirm cargo-audit@0.17.5 --strategies crate-meta-data
|
||||
|
||||
cargo audit --version
|
||||
cargo_audit_version="$(cargo audit --version)"
|
||||
echo "$cargo_audit_version"
|
||||
|
||||
[ "$cargo_audit_version" = "cargo-audit 0.17.5" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue