-
- Downloads
check-code: fix issues with finding patterns in unified tests, fix tests
- old-style patterns without ^ were getting improperly anchored - finditer was matching against beginning of line poorly - \s was matching newlines - [^x] was matching newlines so we: - remove earlier hacks for multiline matching - fix unified test anchoring by adding .* - replace \s with [ \t] - replace [^x] with [^\nx] - force all matches into multiline mode so ^ anchors work This uncovers a number of test issues that are then repaired.
Showing
- contrib/check-code.py 25 additions, 16 deletionscontrib/check-code.py
- tests/test-check-pyflakes.t 1 addition, 1 deletiontests/test-check-pyflakes.t
- tests/test-hgrc.t 33 additions, 27 deletionstests/test-hgrc.t
- tests/test-largefiles.t 6 additions, 6 deletionstests/test-largefiles.t
- tests/test-progress.t 3 additions, 1 deletiontests/test-progress.t
- tests/test-subrepo-svn.t 1 addition, 1 deletiontests/test-subrepo-svn.t
Loading
Please register or sign in to comment