From patchwork Wed Sep 21 00:19:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [17,of,17] tests: favor single quotes for wrapping hg help From: timeless X-Patchwork-Id: 16722 Message-Id: <07306ec6e0c4e0accdaf.1474417198@gcc2-power8.osuosl.org> To: mercurial-devel@mercurial-scm.org Date: Wed, 21 Sep 2016 00:19:58 +0000 # HG changeset patch # User timeless # Date 1474415360 0 # Tue Sep 20 23:49:20 2016 +0000 # Node ID 07306ec6e0c4e0accdaf3efee348361f36910295 # Parent 0f8eca5689fad5be2cef54141c8185b8bd5639f3 # Available At https://bitbucket.org/timeless/mercurial-crew # hg pull https://bitbucket.org/timeless/mercurial-crew -r 07306ec6e0c4 tests: favor single quotes for wrapping hg help ... diff -r 0f8eca5689fa -r 07306ec6e0c4 tests/test-help.t --- a/tests/test-help.t Tue Sep 20 23:49:00 2016 +0000 +++ b/tests/test-help.t Tue Sep 20 23:49:20 2016 +0000 @@ -1250,12 +1250,12 @@ $ hg help config.`hg help config|grep '^ "'| \ > tail -1|sed 's![ "]*!!g'`| \ - > grep "hg help -c config" > /dev/null + > grep 'hg help -c config' > /dev/null [1] note to use help -c for general hg help config: - $ hg help config |grep "hg help -c config" > /dev/null + $ hg help config |grep 'hg help -c config' > /dev/null Test templating help @@ -1589,7 +1589,7 @@ > subsequent section > ------------------ > - > This should be hidden at "hg help ambiguous" with section name. + > This should be hidden at 'hg help ambiguous' with section name. > ''' > """ % (escape(upper), escape(lower))) > EOF diff -r 0f8eca5689fa -r 07306ec6e0c4 tests/test-obsolete-checkheads.t --- a/tests/test-obsolete-checkheads.t Tue Sep 20 23:49:00 2016 +0000 +++ b/tests/test-obsolete-checkheads.t Tue Sep 20 23:49:20 2016 +0000 @@ -122,7 +122,7 @@ # pushing to $TESTTMP/remote # searching for changes # abort: push creates new remote head 71e3228bffe1! -# (merge or see "hg help push" for details about pushing new heads) +# (merge or see 'hg help push' for details about pushing new heads) # [255] old head is obsolete but replacement is not pushed