Imported test cases from pygments

This commit is contained in:
2024-08-03 07:36:47 -03:00
parent c9df4be879
commit 99e1e2b0cb
692 changed files with 37403 additions and 0 deletions

38
tests/diff/normal.txt Normal file
View File

@ -0,0 +1,38 @@
---input---
1,2d0
< A
< A
4c2
< C
---
> F
5a4
> E
---tokens---
'1,2d0' Generic.Subheading
'\n' Text.Whitespace
'< A' Generic.Deleted
'\n' Text.Whitespace
'< A' Generic.Deleted
'\n' Text.Whitespace
'4c2' Generic.Subheading
'\n' Text.Whitespace
'< C' Generic.Deleted
'\n' Text.Whitespace
'---' Generic.Strong
'\n' Text.Whitespace
'> F' Generic.Inserted
'\n' Text.Whitespace
'5a4' Generic.Subheading
'\n' Text.Whitespace
'> E' Generic.Inserted
'\n' Text.Whitespace

44
tests/diff/unified.txt Normal file
View File

@ -0,0 +1,44 @@
---input---
--- old.txt 2023-01-17 21:02:15.449417575 -0700
+++ new.txt 2023-01-17 21:02:12.489441682 -0700
@@ -1,5 +1,4 @@
-A
-A
B
-C
+F
D
+E
---tokens---
'--- old.txt\t2023-01-17 21:02:15.449417575 -0700' Generic.Deleted
'\n' Text.Whitespace
'+++ new.txt\t2023-01-17 21:02:12.489441682 -0700' Generic.Inserted
'\n' Text.Whitespace
'@@ -1,5 +1,4 @@' Generic.Subheading
'\n' Text.Whitespace
'-A' Generic.Deleted
'\n' Text.Whitespace
'-A' Generic.Deleted
'\n' Text.Whitespace
' ' Text.Whitespace
'B' Text
'\n' Text.Whitespace
'-C' Generic.Deleted
'\n' Text.Whitespace
'+F' Generic.Inserted
'\n' Text.Whitespace
' ' Text.Whitespace
'D' Text
'\n' Text.Whitespace
'+E' Generic.Inserted
'\n' Text.Whitespace