tests/test-check-rust-format.t
author Joerg Sonnenberger <joerg@bec.de>
Sun, 30 Jun 2024 02:46:53 +0200
changeset 51828 b08de326bee4
parent 51737 48eb51494a7a
permissions -rw-r--r--
debugwireproto: redo logging to also work for https

#require rustfmt test-repo

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

  $ cd "$TESTDIR"/..

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