##// END OF EJS Templates
test-check-rust-format: specify --edition=2018...
Yuya Nishihara -
r45226:f44a7d86 default
parent child Browse files
Show More
@@ -1,9 +1,9 b''
1 #require rustfmt test-repo
1 #require rustfmt test-repo
2
2
3 $ . "$TESTDIR/helpers-testrepo.sh"
3 $ . "$TESTDIR/helpers-testrepo.sh"
4
4
5 $ cd "$TESTDIR"/..
5 $ cd "$TESTDIR"/..
6 $ RUSTFMT=$(rustup which --toolchain nightly rustfmt)
6 $ RUSTFMT=$(rustup which --toolchain nightly rustfmt)
7 $ for f in `testrepohg files 'glob:**/*.rs'` ; do
7 $ for f in `testrepohg files 'glob:**/*.rs'` ; do
8 > $RUSTFMT --check --unstable-features --color=never $f
8 > $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
9 > done
9 > done
General Comments 0
You need to be logged in to leave comments. Login now