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

login
register
mail settings
Submitter Matt Harbison
Date March 29, 2018, 2:45 a.m.
Message ID <52a792d66f2f14dd75af.1522291531@Envy>
Download mbox | patch
Permalink /patch/29931/
State Accepted
Headers show

Comments

Matt Harbison - March 29, 2018, 2:45 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@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
Yuya Nishihara - March 29, 2018, 11:23 a.m.
On Wed, 28 Mar 2018 22:45:31 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@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

Queued this, thanks.

Patch

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.