equal
deleted
inserted
replaced
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-2020-10-04 rustfmt) |
7 $ for f in `testrepohg files 'glob:**/*.rs'` ; do |
7 $ for f in `testrepohg files 'glob:**/*.rs'` ; do |
8 > $RUSTFMT --check --edition=2018 --unstable-features --color=never $f |
8 > $RUSTFMT --check --edition=2018 --unstable-features --color=never $f |
9 > done |
9 > done |