Debian Codegraph @

tests/test-check-rust-format.t

raw
1 #require rustfmt test-repo
2
3 $ . "$TESTDIR/helpers-testrepo.sh"
4
5 $ cd "$TESTDIR"/..
6
7 Warning: Keep this in sync with hghave.py
8 $ RUSTFMT=$(rustup which --toolchain nightly-2024-07-16 rustfmt)
9 $ for f in `testrepohg files 'set:("**/*.rs") - contrib/**/*.rs - mercurial/thirdparty/**'` ; do
10 > $RUSTFMT --check --unstable-features --color=never $f
11 > done