Skip to content

Commit 5123f6b

Browse files
committed
Merge remote-tracking branch 'origin/DigiLive' into DigiLive
2 parents c11b4ba + 0b3dea0 commit 5123f6b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/Diff/SequenceMatcherTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ public function testGetGroupedOpCodes()
3939
// Test with ignoreWhitespace enabled.
4040
// Note: The sequenceMatcher evaluates the string character by character. Option ignoreWhitespace will ignore
4141
// if the difference if the character is a tab in one sequence and a space in the other.
42-
$sequenceMatcher = new SequenceMatcher("\t54321ABXDE12345 ", " 54321ABXDE12345\t", ['ignoreWhitespace' => true]);
42+
$sequenceMatcher = new SequenceMatcher(
43+
"\t54321ABXDE12345 ",
44+
" 54321ABXDE12345\t",
45+
['ignoreWhitespace' => true]
46+
);
4347
$this->assertEquals(
4448
[[['equal', 14, 17, 14, 17]]],
4549
$sequenceMatcher->getGroupedOpCodes()

0 commit comments

Comments
 (0)