tests/test-check-rust-format.t
author Yuya Nishihara <yuya@tcha.org>
Thu, 30 Jan 2020 23:57:19 +0900
changeset 44230 3e794419d234
parent 43819 e8a3bbffdc7d
child 44732 f44a7d8660ea
permissions -rw-r--r--
rust: update dependencies For no particular reason, but just because I'll bump the rust-cpython version.

#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