tests/test-check-rust-format.t
author Arseniy Alekseyev <aalekseyev@janestreet.com>
Sun, 22 May 2022 14:21:59 +0200
branchstable
changeset 48872 cc92ad0e8185
parent 48374 090346b095fb
child 51794 c8188b10cf43
permissions -rw-r--r--
rhg: correctly handle the case where diffs are encoded relative to nullrev returning a valid entry for nullrev fix chain that delta against nullrev.

#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