tests: favor single quotes for wrapping hg help ...
authortimeless <timeless@mozdev.org>
Tue, 20 Sep 2016 23:49:20 +0000
changeset 29979 40ffa8bff73a
parent 29978 3d2ea1403c62
child 29980 11b3a59e7435
tests: favor single quotes for wrapping hg help ...
tests/test-help.t
tests/test-obsolete-checkheads.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
--- 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