view tests/test-check-rust-format.t @ 44000:60de488cad11

merge with stable
author Augie Fackler <augie@google.com>
date Tue, 07 Jan 2020 09:26:06 -0500
parents e8a3bbffdc7d
children f44a7d8660ea
line wrap: on
line source

#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