tests/test-check-rust-format.t
author Martin von Zweigbergk <martinvonz@google.com>
Wed, 22 Jul 2020 00:13:02 -0700
changeset 45278 3f54242781e9
parent 44844 f44a7d8660ea
child 46002 d42809b6b10f
permissions -rw-r--r--
config: remove now-unused support for "includepaths" This effectively undoes 081b08e4ea13 (templater: look for mapfiles in template paths, 2015-05-15). Differential Revision: https://phab.mercurial-scm.org/D8793

#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 --edition=2018 --unstable-features --color=never $f
  > done