diff --git a/tests/test-extension.t b/tests/test-extension.t --- a/tests/test-extension.t +++ b/tests/test-extension.t @@ -1255,8 +1255,10 @@ Broken disabled extension and command: > pass > EOF $ hg --config extensions.path=./path.py help foo > /dev/null - abort: no such help topic: foo - (try 'hg help --keyword foo') + abort: no such help topic: foo (no-windows !) + (try 'hg help --keyword foo') (no-windows !) + \x1b[0;31mabort: no such help topic: foo\x1b[0m (esc) (windows !) + \x1b[0;31m(try 'hg help --keyword foo')\x1b[0m (esc) (windows !) [255] $ cat > throw.py < /dev/null $ hg help -e -c commit > /dev/null $ hg help -e commit > /dev/null - abort: no such help topic: commit - (try 'hg help --keyword commit') + abort: no such help topic: commit (no-windows !) + (try 'hg help --keyword commit') (no-windows !) + \x1b[0;31mabort: no such help topic: commit\x1b[0m (esc) (windows !) + \x1b[0;31m(try 'hg help --keyword commit')\x1b[0m (esc) (windows !) [255] Test keyword search help