configwizard: fix `test-format-source.t` output (Bug 1568925)
authorConnor Sheehan <sheehan@mozilla.com>
Thu, 01 Aug 2019 16:33:03 -0400
changeset 7145 61c65ae8b33b6758337115045404c8ed16c12ce4
parent 7144 99dca4809de4167839282456a658ecac8bcde990
child 7146 9905724dba20cff2583bcf1c6a0b5c31232ab366
push id3555
push usercosheehan@mozilla.com
push dateThu, 01 Aug 2019 21:23:15 +0000
treeherderversion-control-tools@61c65ae8b33b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1568925
configwizard: fix `test-format-source.t` output (Bug 1568925) Less painful for me to update the test.
hgext/configwizard/tests/test-format-source.t
--- a/hgext/configwizard/tests/test-format-source.t
+++ b/hgext/configwizard/tests/test-format-source.t
@@ -23,17 +23,18 @@ Rejecting format-source doesn't enable i
   clang-format:configpaths = .clang-format, .clang-format-ignore
   clang-format:fileext = .cpp, .c, .h
   prettier-format = [Path To Mozilla Repo]/mach prettier-format --assume-filename $HG_FILENAME -p
   prettier-format:configpaths = .prettierrc, .prettierignore
   prettier-format:fileext = .js, .jsx, .jsm
   
   If `clang-format` or `prettier-format` are not present under `[format-source]`, a default
   configuration will be used that is embedded in this extension. The default configuration
-  can be used in most cases. Would you like to activate format-source (Yn)?  n
+  can be used in most cases.
+  Would you like to activate format-source (Yn)?  n
 No prompt if extensions already enabled
 
   $ hg --config configwizard.steps=format-source --config extensions.format-source=$TESTDIR/hgext/format-source configwizard
   This wizard will guide you through configuring Mercurial for an optimal
   experience contributing to Mozilla projects.
   
   The wizard makes no changes without your permission.
   
@@ -62,17 +63,18 @@ format-source enabled when requested
   clang-format:configpaths = .clang-format, .clang-format-ignore
   clang-format:fileext = .cpp, .c, .h
   prettier-format = [Path To Mozilla Repo]/mach prettier-format --assume-filename $HG_FILENAME -p
   prettier-format:configpaths = .prettierrc, .prettierignore
   prettier-format:fileext = .js, .jsx, .jsm
   
   If `clang-format` or `prettier-format` are not present under `[format-source]`, a default
   configuration will be used that is embedded in this extension. The default configuration
-  can be used in most cases. Would you like to activate format-source (Yn)?  y
+  can be used in most cases.
+  Would you like to activate format-source (Yn)?  y
   Your config file needs updating.
   Would you like to see a diff of the changes first (Yn)?  y
   --- hgrc.old
   +++ hgrc.new
   @@ -0,0 +1,2 @@
   +[extensions]
   +format-source = */hgext/format-source (glob)