Merge pull request #80427 from xfix/cargo-geiger-fix-tests

cargo-geiger: fix build with rust 1.41
This commit is contained in:
Maximilian Bosch 2020-02-18 22:41:00 +01:00 committed by GitHub
commit 3698ce1755
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,12 @@ rustPlatform.buildRustPackage rec {
# we might be able to run these with something like
# `cargo insta review` in the `preCheck` phase.
checkPhase = ''
cd cargo-geiger/tests/snapshots
for file in *
do
mv $file r#$file
done
cd -
cargo test -- \
--skip test_package::case_2 \
--skip test_package::case_3 \