tests/test-check-rust-format.t
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Thu, 26 Mar 2020 16:23:54 -0400
changeset 44621 c5653cf2811d
parent 43819 e8a3bbffdc7d
child 44732 f44a7d8660ea
permissions -rw-r--r--
git: remove obsolete todo item The changes in 02c47b74366c cleaned up the requirement check.

#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