mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-28 11:00:59 -03:00
Imported test cases from pygments
This commit is contained in:
38
tests/diff/normal.txt
Normal file
38
tests/diff/normal.txt
Normal 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
44
tests/diff/unified.txt
Normal 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
|
Reference in New Issue
Block a user