##// END OF EJS Templates
tests: only diff the `Cargo.lock` in `test-check-cargo-lock.t`...
Raphaël Gomès -
r46231:ba0d93a5 default
parent child Browse files
Show More
@@ -1,11 +1,11
1 1 #require cargo test-repo
2 2 $ . "$TESTDIR/helpers-testrepo.sh"
3 3 $ cd "$TESTDIR"/../rust
4 4
5 5 Check if Cargo.lock is up-to-date. Will fail with a 101 error code if not.
6 6
7 7 $ cargo check --locked --all --quiet
8 8
9 9 However most CIs will run `cargo build` or similar before running the tests, so we need to check if it was modified
10 10
11 $ testrepohg diff
11 $ testrepohg diff Cargo.lock
General Comments 0
You need to be logged in to leave comments. Login now