diff --git a/tests/test-alias.t b/tests/test-alias.t --- a/tests/test-alias.t +++ b/tests/test-alias.t @@ -394,9 +394,18 @@ command provided extension, should be ab $ cat >> .hg/hgrc < [extensions] > hgext.rebase = + > EOF +#if windows + $ cat >> .hg/hgrc < [alias] + > rebate = !echo this is %HG_ARGS% + > EOF +#else + $ cat >> .hg/hgrc < [alias] > rebate = !echo this is \$HG_ARGS > EOF +#endif $ hg reba hg: command 'reba' is ambiguous: rebase rebate