mirror of
https://github.com/git/git.git
synced 2024-11-16 14:04:52 +01:00
8d96e7288f
The builtin word regexes should be tested with some simple examples against simple issues. Do this in bulk. Mainly due to a lack of language knowledge and inspiration, most of the test cases (cpp, csharp, java, objc, pascal, php, python, ruby) are directly based off a C operator precedence table to verify that all operators are split correctly. This means that they are probably incomplete or inaccurate except for 'cpp' itself. Still, they are good enough to already have uncovered a typo in the python and ruby patterns. 'fortran' is based on my anecdotal knowledge of the DO10I parsing rules, and thus probably useless. The rest (bibtex, html, tex) are an ad-hoc test of what I consider important splits in those languages. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
15 lines
806 B
Text
15 lines
806 B
Text
<BOLD>diff --git a/pre b/post<RESET>
|
|
<BOLD>index 95cd55b..ddcba9b 100644<RESET>
|
|
<BOLD>--- a/pre<RESET>
|
|
<BOLD>+++ b/post<RESET>
|
|
<CYAN>@@ -1,9 +1,10 @@<RESET>
|
|
@article{aldous1987uie,<RESET>
|
|
title={{Ultimate instability of exponential back-off protocol for acknowledgment-based transmission control of random access communication channels}},<RESET>
|
|
author={Aldous, <RED>D.<RESET><GREEN>David<RESET>},
|
|
journal={Information Theory, IEEE Transactions on},<RESET>
|
|
volume={<RED>33<RESET><GREEN>Bogus.<RESET>},
|
|
number={<RED>2<RESET><GREEN>4<RESET>},
|
|
pages={219--223},<RESET>
|
|
year=<GREEN>1987,<RESET>
|
|
<GREEN> note={This is in fact a rather funny read since ethernet works well in practice. The<RESET> {<RED>1987<RESET><GREEN>\em pre} reference is the right one, however.<RESET>}<RED>,<RESET>
|
|
}<RESET>
|