view tests/test-check-rust-format.t @ 44660:649fd6c3ed33

debugcommands: fix typo in debuguigetpass
author Yuya Nishihara <yuya@tcha.org>
date Sun, 29 Mar 2020 01:57:17 +0900
parents e8a3bbffdc7d
children f44a7d8660ea
line wrap: on
line source

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