##// END OF EJS Templates
phases: replace magic number by constant...
phases: replace magic number by constant Differential Revision: https://phab.mercurial-scm.org/D8695

File last commit:

r45226:f44a7d86 default
r45609:31f111d4 default
Show More
test-check-rust-format.t
9 lines | 279 B | text/troff | Tads3Lexer
/ tests / test-check-rust-format.t
Gregory Szorc
tests: add test for Rust formatting...
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
test-check-rust-format: specify --edition=2018...
r45226 > $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
Gregory Szorc
tests: add test for Rust formatting...
r44271 > done