test-check-rust-format.t
11 lines
| 333 B
| text/troff
|
Tads3Lexer
/ tests / test-check-rust-format.t
Gregory Szorc
|
r44271 | #require rustfmt test-repo | ||
$ . "$TESTDIR/helpers-testrepo.sh" | ||||
$ cd "$TESTDIR"/.. | ||||
Raphaël Gomès
|
r49615 | |||
Warning: Keep this in sync with hghave.py | ||||
Raphaël Gomès
|
r52629 | $ RUSTFMT=$(rustup which --toolchain nightly-2024-07-16 rustfmt) | ||
Gregory Szorc
|
r44271 | $ for f in `testrepohg files 'glob:**/*.rs'` ; do | ||
Raphaël Gomès
|
r52630 | > $RUSTFMT --check --edition=2021 --unstable-features --color=never $f | ||
Gregory Szorc
|
r44271 | > done | ||