Mercurial > hg
view tests/test-diff-change.out @ 10715:83dce0f817f4
add a small test for contrib/check-code.py
This changeset adds a test file for contrib/check-code.py. This test runs
check-code.py against two small files. The first file should not raise any
check-code.py error while the second should. A line contains multiple errors to
verify the check-code.py behaviour: In the case of multiple errors at the same
line, the context line should only be displayed once.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 16 Mar 2010 19:52:55 +0100 |
parents | 9c6ae2e09e11 |
children |
line wrap: on
line source
invoking hg diff --nodates --change 1: diff -r 4bb65dda5db4 -r e9b286083166 file.txt --- a/file.txt +++ b/file.txt @@ -1,1 +1,1 @@ -first +second invoking hg diff --nodates --change e9b286083166: diff -r 4bb65dda5db4 -r e9b286083166 file.txt --- a/file.txt +++ b/file.txt @@ -1,1 +1,1 @@ -first +second invoking hg diff --nodates --change 6: diff -r e8a0797e73a6 -r aa9873050139 file.txt --- a/file.txt +++ b/file.txt @@ -6,6 +6,6 @@ 5 6 7 -8 +y 9 10 EOF