tests/test-check-rust-format.t
author Raphaël Gomès <rgomes@octobus.net>
Mon, 29 Jul 2024 10:04:00 +0200
changeset 51794 c8188b10cf43
parent 48374 090346b095fb
child 51795 48eb51494a7a
permissions -rw-r--r--
hghave: update expected rustfmt version We still use nightly, but have moved to a newer nightly after the last CI image upgrade in 74f1bf147a6d and 3876d4c6c79e.

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