tests/test-check-rust-format.t
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 18 Sep 2020 10:15:13 -0700
changeset 45519 e29cd888fd17
parent 44844 f44a7d8660ea
child 46002 d42809b6b10f
permissions -rw-r--r--
rebase: delete unused p1 argument to _concludenode() Unused since a0192a03216d (rebase: remove now unnecessary logic to allow empty commit when branch changes, 2020-07-09). Differential Revision: https://phab.mercurial-scm.org/D9055

#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