view tests/test-check-format.t @ 50984:2dcb6a6c7540 stable

tests: reproduce the nullrev bug in an end-to-end test
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Thu, 14 Sep 2023 11:03:41 +0100
parents 41d43d12c2c4
children
line wrap: on
line source

#require black test-repo

Black needs the real USERPROFILE in order to run on Windows
#if msys
  $ USERPROFILE="$REALUSERPROFILE"
  $ export USERPROFILE
#endif

  $ cd $RUNTESTDIR/..
  $ black --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`