Mercurial > hg
comparison tests/test-diff-unified.t @ 16912:6ef3107c661e
tests: cleanup of tests that got lost in their own nested directories
Some tests ended up in a directory several directories deeper than $TESTTMP,
usually because some 'cd ..' had been forgotten between different test cases.
Add 'cd ..' where they are missing so the tests get back where they started.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 11 Jun 2012 01:38:32 +0200 |
parents | 16b75661828e |
children | d7abae94a7a0 |
comparison
equal
deleted
inserted
replaced
16911:39d38f16a3f7 | 16912:6ef3107c661e |
---|---|
86 invalid diff.unified | 86 invalid diff.unified |
87 | 87 |
88 $ hg --config diff.unified=foo diff --nodates | 88 $ hg --config diff.unified=foo diff --nodates |
89 abort: diff context lines count must be an integer, not 'foo' | 89 abort: diff context lines count must be an integer, not 'foo' |
90 [255] | 90 [255] |
91 | |
92 $ cd .. | |
93 | |
91 | 94 |
92 0 lines of context hunk header matches gnu diff hunk header | 95 0 lines of context hunk header matches gnu diff hunk header |
93 | 96 |
94 $ hg init diffzero | 97 $ hg init diffzero |
95 $ cd diffzero | 98 $ cd diffzero |
189 --- a/f 1 | 192 --- a/f 1 |
190 +++ b/f1 | 193 +++ b/f1 |
191 @@ -1,1 +1,1 @@ | 194 @@ -1,1 +1,1 @@ |
192 -b | 195 -b |
193 +a | 196 +a |
197 | |
198 $ cd .. |