tests/test-check-format.t
author Raphaël Gomès <rgomes@octobus.net>
Wed, 06 Nov 2019 16:24:24 +0100
changeset 43611 27c25c0dc967
parent 43386 2247bf3cec76
child 43692 2d8d4e08c493
permissions -rw-r--r--
rust-matchers: remove default implementations for `Matcher` trait We don't expect a whole lot of matchers to be defined, and this makes it more obvious what a matcher does by reading its `impl Matcher for FooMatcher`. This patch has the added benefit of fixing the `AlwaysMatcher`, its `matches` function differs from the former default. Differential Revision: https://phab.mercurial-scm.org/D7255

#require black

  $ cd $RUNTESTDIR/..
  $ black --config=black.toml --check --diff `hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"'`