tests/test-check-rust-format.t
author Matt Harbison <matt_harbison@yahoo.com>
Wed, 18 Dec 2019 00:41:12 -0500
changeset 44010 109315c41d5e
parent 43837 e8a3bbffdc7d
child 44844 f44a7d8660ea
permissions -rw-r--r--
inno: drop support for Windows 95/98/ME Differential Revision: https://phab.mercurial-scm.org/D7696

#require rustfmt test-repo

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

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