Patchwork D7102: tests: fix formatting test after move of black config

login
register
mail settings
Submitter phabricator
Date Oct. 16, 2019, 2:22 p.m.
Message ID <330d8b59b96ca492006fce5cf8a68ad8@localhost.localdomain>
Download mbox | patch
Permalink /patch/42389/
State Not Applicable
Headers show

Comments

phabricator - Oct. 16, 2019, 2:22 p.m.
Closed by commit rHG1a7d1f1aa0ac: tests: fix formatting test after move of black config (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7102?vs=17170&id=17205

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7102/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7102

AFFECTED FILES
  tests/test-check-format.t

CHANGE DETAILS




To: durin42, #hg-reviewers, pulkit
Cc: mjpieters, mercurial-devel

Patch

diff --git a/tests/test-check-format.t b/tests/test-check-format.t
--- a/tests/test-check-format.t
+++ b/tests/test-check-format.t
@@ -3,5 +3,5 @@ 
 (this should use the actual black as soon as possible)
 
   $ cd $RUNTESTDIR/..
-  $ python3 contrib/grey.py -S --quiet --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" - contrib/grey.py'`
+  $ python3 contrib/grey.py --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" - contrib/grey.py'`