diff tests/test-fix.t @ 43220:d3d1a3afe7aa

fix: warn when a fixer doesn't have a configured command It seems we currently produce an empty command line and then decide to not run it, but it seems better to skip that part too. Differential Revision: https://phab.mercurial-scm.org/D7085
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 26 Jul 2019 08:43:57 -0700
parents 808a57a08470
children 5272bd7e7517
line wrap: on
line diff
--- a/tests/test-fix.t	Sat Oct 12 11:00:20 2019 -0700
+++ b/tests/test-fix.t	Fri Jul 26 08:43:57 2019 -0700
@@ -1338,6 +1338,8 @@
   fixer tool has no pattern configuration: nopattern
   $ cat foo bar
   foobar (no-eol)
+  $ hg fix --debug --working-dir --config "fix.nocommand:pattern=foo.bar"
+  fixer tool has no command configuration: nocommand
 
   $ cd ..