[PATCH 2 of 2] tests: conditionalize printed environment variable output in test-alias

Matt Harbison mharbison72 at gmail.com
Wed Mar 28 22:45:31 EDT 2018


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1522291081 14400
#      Wed Mar 28 22:38:01 2018 -0400
# Node ID 52a792d66f2f14dd75af06981dcfbb3678daf094
# Parent  7a6eccc3b43dd8f6090b23aa38b2f71d33f5bbdc
tests: conditionalize printed environment variable output in test-alias

diff --git a/tests/test-alias.t b/tests/test-alias.t
--- a/tests/test-alias.t
+++ b/tests/test-alias.t
@@ -605,7 +605,8 @@ help for a shell alias
   $ hg help rebate
   hg rebate [MYARGS]
   
-  shell alias for: echo this is $HG_ARGS
+  shell alias for: echo this is %HG_ARGS% (windows !)
+  shell alias for: echo this is $HG_ARGS (no-windows !)
   
   This is my alias which just prints something.
   


More information about the Mercurial-devel mailing list