test-check-rust-format.t
9 lines
| 279 B
| text/troff
|
Tads3Lexer
/ tests / test-check-rust-format.t
Gregory Szorc
|
r44271 | #require rustfmt test-repo | ||
$ . "$TESTDIR/helpers-testrepo.sh" | ||||
$ cd "$TESTDIR"/.. | ||||
$ RUSTFMT=$(rustup which --toolchain nightly rustfmt) | ||||
$ for f in `testrepohg files 'glob:**/*.rs'` ; do | ||||
Yuya Nishihara
|
r45226 | > $RUSTFMT --check --edition=2018 --unstable-features --color=never $f | ||
Gregory Szorc
|
r44271 | > done | ||