Page MenuHomePhabricator

tests: only diff the `Cargo.lock` in `test-check-cargo-lock.t`
ClosedPublic

Authored by Alphare on Oct 8 2020, 4:08 AM.

Details

Summary

While not perfect (you could be running tests while developing with a justified
modification to Cargo.lock), that use-case is small enough that I don't think
it's really going to be an issue.

This stops the test from failing for unrelated changes when running it locally.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Alphare created this revision.Oct 8 2020, 4:08 AM

@martinvonz here's the fix you asked

martinvonz accepted this revision.Oct 8 2020, 10:55 AM

@martinvonz here's the fix you asked

Thanks!

This revision is now accepted and ready to land.Oct 8 2020, 10:55 AM