Add syntax tests for ignored filename suffixes
commitddb39ef2f603ff00301ae3b6241bacfa9d594e15
authorVille Skyttä <ville.skytta@iki.fi>
dateTue 6 Jul 2021, 00:05 (5 years ago)
parent355e62e
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.baknew file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.bak (editor etc backup) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.dpkg-distnew file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.dpkg-dist (Debian dpkg backup) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.dpkg-oldnew file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.dpkg-old (Debian dpkg backup) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.innew file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.in (build system input) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.in.innew file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.in.in (build system input, doubly replaced) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.oldnew file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.old (editor etc backup) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.orignew file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.orig (editor, diff etc backup) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.orig~new file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.orig~ (backup of an editor, diff etc backup) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmnewnew file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.rpmnew (Red Hat rpm backup) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmorignew file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.rpmorig (Red Hat rpm backup) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmsavenew file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo.rpmsave (Red Hat rpm backup) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.rs~new file+1
@@ -0,0 +1 @@
1+[38;2;117;113;94m//[0m[38;2;117;113;94m foo~ (editor backup) should highlight same as foo[0m
tests/syntax-tests/highlighted/Ignored suffixes/test.unknown~new file+1
@@ -0,0 +1 @@
1+[38;2;248;248;242m// foo~ for unknown foo should not highlight[0m
tests/syntax-tests/source/Ignored suffixes/test.rs.baknew file+1
@@ -0,0 +1 @@
1+// foo.bak (editor etc backup) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs.dpkg-distnew file+1
@@ -0,0 +1 @@
1+// foo.dpkg-dist (Debian dpkg backup) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs.dpkg-oldnew file+1
@@ -0,0 +1 @@
1+// foo.dpkg-old (Debian dpkg backup) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs.innew file+1
@@ -0,0 +1 @@
1+// foo.in (build system input) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs.in.innew file+1
@@ -0,0 +1 @@
1+// foo.in.in (build system input, doubly replaced) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs.oldnew file+1
@@ -0,0 +1 @@
1+// foo.old (editor etc backup) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs.orignew file+1
@@ -0,0 +1 @@
1+// foo.orig (editor, diff etc backup) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs.orig~new file+1
@@ -0,0 +1 @@
1+// foo.orig~ (backup of an editor, diff etc backup) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs.rpmnewnew file+1
@@ -0,0 +1 @@
1+// foo.rpmnew (Red Hat rpm backup) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs.rpmorignew file+1
@@ -0,0 +1 @@
1+// foo.rpmorig (Red Hat rpm backup) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs.rpmsavenew file+1
@@ -0,0 +1 @@
1+// foo.rpmsave (Red Hat rpm backup) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.rs~new file+1
@@ -0,0 +1 @@
1+// foo~ (editor backup) should highlight same as foo
tests/syntax-tests/source/Ignored suffixes/test.unknown~new file+1
@@ -0,0 +1 @@
1+// foo~ for unknown foo should not highlight