tests/test-check-rust-format.t
author Matt Harbison <matt_harbison@yahoo.com>
Mon, 07 Dec 2020 20:53:01 -0500
changeset 46074 8dfcebd084b6
parent 46002 d42809b6b10f
child 48297 9ebc10ad4a04
permissions -rw-r--r--
tests: drop the trailing exclamation point from some Windows abort messages This likely goes with 95c4cca641f6. Differential Revision: https://phab.mercurial-scm.org/D9537

#require rustfmt test-repo

  $ . "$TESTDIR/helpers-testrepo.sh"

  $ cd "$TESTDIR"/..
  $ RUSTFMT=$(rustup which --toolchain nightly-2020-10-04 rustfmt)
  $ for f in `testrepohg files 'glob:**/*.rs'` ; do
  >   $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
  > done