##// END OF EJS Templates
rhg: handle null changelog and manifest revisions...
rhg: handle null changelog and manifest revisions Differential Revision: https://phab.mercurial-scm.org/D11650

File last commit:

r46601:d42809b6 default
r49012:61ce70fd default
Show More
test-check-rust-format.t
9 lines | 290 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"/..
rust-format: pin the formatted to a specific nightly version...
r46601 $ RUSTFMT=$(rustup which --toolchain nightly-2020-10-04 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