tests/test-check-rust-format.t
author Pierre-Yves DAVID <pierre-yves.david@octobus.net>
Wed, 01 Jun 2022 00:54:19 +0200
changeset 49254 69983adfed06
parent 48742 090346b095fb
permissions -rw-r--r--
debugindex: introduce a concept of "verbose-only" column We are about to add a bunch of new column and most of them are probably only relevant to --verbose. We add some more testing of the `--verbose` mode in a sidedata context.

#require rustfmt test-repo

  $ . "$TESTDIR/helpers-testrepo.sh"

  $ cd "$TESTDIR"/..

Warning: Keep this in sync with hghave.py
  $ RUSTFMT=$(rustup which --toolchain nightly-2021-11-02 rustfmt)
  $ for f in `testrepohg files 'glob:**/*.rs'` ; do
  >   $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
  > done