mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 22:53:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
44
spec/tests/diff/unified.txt
Normal file
44
spec/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