Show More
@@ -0,0 +1,11 b'' | |||
|
1 | #require cargo test-repo | |
|
2 | $ . "$TESTDIR/helpers-testrepo.sh" | |
|
3 | $ cd "$TESTDIR"/../rust | |
|
4 | ||
|
5 | Check if Cargo.lock is up-to-date. Will fail with a 101 error code if not. | |
|
6 | ||
|
7 | $ cargo check --locked --all --quiet | |
|
8 | ||
|
9 | However most CIs will run `cargo build` or similar before running the tests, so we need to check if it was modified | |
|
10 | ||
|
11 | $ testrepohg diff |
General Comments 0
You need to be logged in to leave comments.
Login now