##// END OF EJS Templates
hghave: update rustfmt criterion...
hghave: update rustfmt criterion In 9ebc10ad4a04 I updated `rustfmt` without touching hghave, which means that the CI has been skipping the format test ever since. Thankfully, only one offending line exists in the code that's been introduced since. Differential Revision: https://phab.mercurial-scm.org/D12180

File last commit:

r49615:090346b0 stable
r49615:090346b0 stable
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