comparison tests/test-grep.t @ 12942:05fffd665170 stable

tests: use (esc) for all non-ASCII test output
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 08 Nov 2010 01:41:41 +0100
parents 4fee1fd3de9a
children 332e400764e5
comparison
equal deleted inserted replaced
12941:b911cb80c671 12942:05fffd665170
31 31
32 simple with color 32 simple with color
33 33
34 $ hg --config extensions.color= grep --config color.mode=ansi \ 34 $ hg --config extensions.color= grep --config color.mode=ansi \
35 > --color=always port port 35 > --color=always port port
36 port:4:export 36 port:4:ex\x1b[0;31;1mport\x1b[0m (esc)
37 port:4:vaportight 37 port:4:va\x1b[0;31;1mport\x1b[0might (esc)
38 port:4:import/export 38 port:4:im\x1b[0;31;1mport\x1b[0m/export (esc)
39 39
40 all 40 all
41 41
42 $ hg grep --traceback --all -nu port port 42 $ hg grep --traceback --all -nu port port
43 port:4:4:-:spam:import/export 43 port:4:4:-:spam:import/export