From 8d96e7288f2be9de6d09352dc445f18f89564500 Mon Sep 17 00:00:00 2001 From: Thomas Rast Date: Sat, 18 Dec 2010 17:17:54 +0100 Subject: t4034: bulk verify builtin word regex sanity 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 Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- t/t4034/html/expect | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 t/t4034/html/expect (limited to 't/t4034/html/expect') diff --git a/t/t4034/html/expect b/t/t4034/html/expect new file mode 100644 index 0000000000..447b49ab6d --- /dev/null +++ b/t/t4034/html/expect @@ -0,0 +1,8 @@ +diff --git a/pre b/post +index 8ca4aea..46921e5 100644 +--- a/pre ++++ b/post +@@ -1,3 +1,3 @@ +newattr="newvalue">added content +"value""newvalue">contentchanged +<tagnewtag>content &entity;&newentity;</tag/newtag> -- cgit v1.2.3