##// END OF EJS Templates
branching: merge with stable
branching: merge with stable

File last commit:

r49615:090346b0 stable
r49625:6cfa3068 merge default
Show More
test-check-rust-format.t
11 lines | 333 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"/..
Raphaël Gomès
hghave: update rustfmt criterion...
r49615
Warning: Keep this in sync with hghave.py
Raphaël Gomès
rust-format: update rustfmt version...
r49118 $ RUSTFMT=$(rustup which --toolchain nightly-2021-11-02 rustfmt)
Gregory Szorc
tests: add test for Rust formatting...
r44271 $ 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