mirror of
https://github.com/sharkdp/bat
synced 2024-11-08 19:10:41 +00:00
Add syntax tests for ignored filename suffixes
This commit is contained in:
parent
355e62efe9
commit
ddb39ef2f6
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.bak
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.bak
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;117;113;94m//[0m[38;2;117;113;94m foo.bak (editor etc backup) should highlight same as foo[0m
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.dpkg-dist
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.dpkg-dist
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;117;113;94m//[0m[38;2;117;113;94m foo.dpkg-dist (Debian dpkg backup) should highlight same as foo[0m
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.dpkg-old
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.dpkg-old
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;117;113;94m//[0m[38;2;117;113;94m foo.dpkg-old (Debian dpkg backup) should highlight same as foo[0m
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.in
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.in
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;117;113;94m//[0m[38;2;117;113;94m foo.in (build system input) should highlight same as foo[0m
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.in.in
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.in.in
vendored
Normal file
@ -0,0 +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
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.old
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.old
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;117;113;94m//[0m[38;2;117;113;94m foo.old (editor etc backup) should highlight same as foo[0m
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.orig
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.orig
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;117;113;94m//[0m[38;2;117;113;94m foo.orig (editor, diff etc backup) should highlight same as foo[0m
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.orig~
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.orig~
vendored
Normal file
@ -0,0 +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
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmnew
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmnew
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;117;113;94m//[0m[38;2;117;113;94m foo.rpmnew (Red Hat rpm backup) should highlight same as foo[0m
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmorig
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmorig
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;117;113;94m//[0m[38;2;117;113;94m foo.rpmorig (Red Hat rpm backup) should highlight same as foo[0m
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmsave
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs.rpmsave
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;117;113;94m//[0m[38;2;117;113;94m foo.rpmsave (Red Hat rpm backup) should highlight same as foo[0m
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs~
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.rs~
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;117;113;94m//[0m[38;2;117;113;94m foo~ (editor backup) should highlight same as foo[0m
|
1
tests/syntax-tests/highlighted/Ignored suffixes/test.unknown~
vendored
Normal file
1
tests/syntax-tests/highlighted/Ignored suffixes/test.unknown~
vendored
Normal file
@ -0,0 +1 @@
|
||||
[38;2;248;248;242m// foo~ for unknown foo should not highlight[0m
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.bak
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.bak
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.bak (editor etc backup) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.dpkg-dist
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.dpkg-dist
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.dpkg-dist (Debian dpkg backup) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.dpkg-old
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.dpkg-old
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.dpkg-old (Debian dpkg backup) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.in
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.in
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.in (build system input) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.in.in
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.in.in
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.in.in (build system input, doubly replaced) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.old
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.old
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.old (editor etc backup) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.orig
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.orig
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.orig (editor, diff etc backup) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.orig~
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.orig~
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.orig~ (backup of an editor, diff etc backup) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.rpmnew
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.rpmnew
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.rpmnew (Red Hat rpm backup) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.rpmorig
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.rpmorig
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.rpmorig (Red Hat rpm backup) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs.rpmsave
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs.rpmsave
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo.rpmsave (Red Hat rpm backup) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.rs~
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.rs~
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo~ (editor backup) should highlight same as foo
|
1
tests/syntax-tests/source/Ignored suffixes/test.unknown~
vendored
Normal file
1
tests/syntax-tests/source/Ignored suffixes/test.unknown~
vendored
Normal file
@ -0,0 +1 @@
|
||||
// foo~ for unknown foo should not highlight
|
Loading…
Reference in New Issue
Block a user