[PATCH 17 of 17] tests: favor single quotes for wrapping hg help
timeless
timeless at fmr.im
Wed Sep 21 00:19:58 UTC 2016
# HG changeset patch
# User timeless <timeless at mozdev.org>
# 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
More information about the Mercurial-devel
mailing list