view tests/test-check-rust-format.t @ 43846:d5ce99a6db52

filemerge: fix a missing attribute usage Flagged by both pytype and VSCode. Differential Revision: https://phab.mercurial-scm.org/D7465
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 20 Nov 2019 13:03:22 -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