Skip to content

Commit 5e05038

Browse files
committed
tests
1 parent 146b361 commit 5e05038

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tests/RendererTest.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,26 @@ public function renderChangeDataProvider()
1818
['line1', 'line2changed', 'line3'],
1919
[],
2020
],
21+
'DefaultFormat_AddLine' => [
22+
[
23+
'line1',
24+
'<ins>line2</ins>',
25+
'line3'
26+
],
27+
['line1', 'line3'],
28+
['line1', 'line2', 'line3'],
29+
[],
30+
],
31+
'DefaultFormat_DropLine' => [
32+
[
33+
'line1',
34+
'<del>line2</del>',
35+
'line3'
36+
],
37+
['line1', 'line2', 'line3'],
38+
['line1', 'line3'],
39+
[],
40+
],
2141
'CustomFullySpecifiedFormat' => [
2242
[
2343
'line1',

0 commit comments

Comments
 (0)