tests/test-check-rust-format.t
changeset 44732 f44a7d8660ea
parent 43819 e8a3bbffdc7d
child 45987 d42809b6b10f
equal deleted inserted replaced
44728:59ad165f6cdb 44732:f44a7d8660ea
     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