2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-06 21:20:25 +00:00

Add syntax tests for ignored filename suffixes

This commit is contained in:
Ville Skyttä 2021-07-06 00:05:09 +03:00 committed by David Peter
parent 355e62efe9
commit ddb39ef2f6
26 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1 @@
// foo.bak (editor etc backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.dpkg-dist (Debian dpkg backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.dpkg-old (Debian dpkg backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.in (build system input) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.in.in (build system input, doubly replaced) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.old (editor etc backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.orig (editor, diff etc backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.orig~ (backup of an editor, diff etc backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.rpmnew (Red Hat rpm backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.rpmorig (Red Hat rpm backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.rpmsave (Red Hat rpm backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo~ (editor backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo~ for unknown foo should not highlight

View File

@ -0,0 +1 @@
// foo.bak (editor etc backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.dpkg-dist (Debian dpkg backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.dpkg-old (Debian dpkg backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.in (build system input) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.in.in (build system input, doubly replaced) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.old (editor etc backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.orig (editor, diff etc backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.orig~ (backup of an editor, diff etc backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.rpmnew (Red Hat rpm backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.rpmorig (Red Hat rpm backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo.rpmsave (Red Hat rpm backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo~ (editor backup) should highlight same as foo

View File

@ -0,0 +1 @@
// foo~ for unknown foo should not highlight