on master help sign in
Add syntax tests for ignored filename suffixes
commitddb39ef2f603ff00301ae3b6241bacfa9d594e15 authorVille Skyttä <ville.skytta@iki.fi> dateTue 6 Jul 2021, 00:05 (5 years ago) parent355e62e
26 files changed+26
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.bak+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs.dpkg-dist+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs.dpkg-old+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs.in+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs.in.in+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs.old+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs.orig+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs.orig~+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmnew+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmorig+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmsave+1 tests/syntax-tests/highlighted/Ignored suffixes/test.rs~+1 tests/syntax-tests/highlighted/Ignored suffixes/test.unknown~+1 tests/syntax-tests/source/Ignored suffixes/test.rs.bak+1 tests/syntax-tests/source/Ignored suffixes/test.rs.dpkg-dist+1 tests/syntax-tests/source/Ignored suffixes/test.rs.dpkg-old+1 tests/syntax-tests/source/Ignored suffixes/test.rs.in+1 tests/syntax-tests/source/Ignored suffixes/test.rs.in.in+1 tests/syntax-tests/source/Ignored suffixes/test.rs.old+1 tests/syntax-tests/source/Ignored suffixes/test.rs.orig+1 tests/syntax-tests/source/Ignored suffixes/test.rs.orig~+1 tests/syntax-tests/source/Ignored suffixes/test.rs.rpmnew+1 tests/syntax-tests/source/Ignored suffixes/test.rs.rpmorig+1 tests/syntax-tests/source/Ignored suffixes/test.rs.rpmsave+1 tests/syntax-tests/source/Ignored suffixes/test.rs~+1 tests/syntax-tests/source/Ignored suffixes/test.unknown~+1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.baknew file+1
@@ -0,0 +1 @@
1+// foo.bak (editor etc backup) should highlight same as foo
tests/syntax-tests/highlighted/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/highlighted/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/highlighted/Ignored suffixes/test.rs.innew file+1
@@ -0,0 +1 @@
1+// foo.in (build system input) should highlight same as foo
tests/syntax-tests/highlighted/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/highlighted/Ignored suffixes/test.rs.oldnew file+1
@@ -0,0 +1 @@
1+// foo.old (editor etc backup) should highlight same as foo
tests/syntax-tests/highlighted/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/highlighted/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/highlighted/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/highlighted/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/highlighted/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/highlighted/Ignored suffixes/test.rs~new file+1
@@ -0,0 +1 @@
1+// foo~ (editor backup) should highlight same as foo
tests/syntax-tests/highlighted/Ignored suffixes/test.unknown~new file+1
@@ -0,0 +1 @@
1+// foo~ for unknown foo should not highlight
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