Mercurial > hg-stable
view tests/test-check-rust-format.t @ 44687:bca57ad9e630
histedit: add test that an invalid editor doesn't bork client state
We had a report of a situation like this borking a user at Google, but
I can't reproduce it in a test. Let's at least backstop the issue with
a test, so we don't accidentally introduce such a bug...
Differential Revision: https://phab.mercurial-scm.org/D8391
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 09 Apr 2020 15:44:21 -0400 |
parents | e8a3bbffdc7d |
children | f44a7d8660ea |
line wrap: on
line source
#require rustfmt test-repo $ . "$TESTDIR/helpers-testrepo.sh" $ cd "$TESTDIR"/.. $ RUSTFMT=$(rustup which --toolchain nightly rustfmt) $ for f in `testrepohg files 'glob:**/*.rs'` ; do > $RUSTFMT --check --unstable-features --color=never $f > done