Mercurial > public > mercurial-scm > hg-stable
diff tests/test-diff-unified.t @ 12316:4134686b83e1
tests: add exit codes to unified tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 16 Sep 2010 17:51:32 -0500 |
parents | 5f44daa8fbd0 |
children | 2b1ec74c961f |
line wrap: on
line diff
--- a/tests/test-diff-unified.t Thu Sep 16 16:12:26 2010 -0500 +++ b/tests/test-diff-unified.t Thu Sep 16 17:51:32 2010 -0500 @@ -46,6 +46,7 @@ $ hg diff --nodates -U foo abort: diff context lines count must be an integer, not 'foo' + [255] $ hg diff --nodates -U 2 @@ -86,6 +87,7 @@ $ hg --config diff.unified=foo diff --nodates abort: diff context lines count must be an integer, not 'foo' + [255] test off-by-one error with diff -p