Mercurial > hg
diff tests/test-eol-clone.t @ 12943:7439ea4146f8 stable
tests: use (esc) instead of other kinds of string escaping
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 08 Nov 2010 01:41:42 +0100 |
parents | b00eda50ad2b |
children | 43b3b761d9d1 |
line wrap: on
line diff
--- a/tests/test-eol-clone.t Mon Nov 08 01:41:41 2010 +0100 +++ b/tests/test-eol-clone.t Mon Nov 08 01:41:42 2010 +0100 @@ -31,11 +31,11 @@ updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd repo-2 - $ python $TESTDIR/printrepr.py < a.txt - first\r - second\r - third\r - $ hg cat a.txt | python $TESTDIR/printrepr.py + $ cat a.txt + first\r (esc) + second\r (esc) + third\r (esc) + $ hg cat a.txt first second third @@ -51,7 +51,7 @@ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd repo-3 - $ python $TESTDIR/printrepr.py < a.txt + $ cat a.txt first second third @@ -71,7 +71,7 @@ [patterns] **.txt = native - $ python $TESTDIR/printrepr.py < a.txt - first\r - second\r - third\r + $ cat a.txt + first\r (esc) + second\r (esc) + third\r (esc)