Skip to content

Commit c6cf354

Browse files
committed
Don't use CRLF when generating diffs
1 parent 47b1a58 commit c6cf354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2901,7 +2901,7 @@ function generate_diff($wanted, $wanted_re, $output)
29012901
$r = is_null($wanted_re) ? $w : explode("\n", $wanted_re);
29022902
$diff = generate_array_diff($r, $o, !is_null($wanted_re), $w);
29032903

2904-
return implode("\r\n", $diff);
2904+
return implode(PHP_EOL, $diff);
29052905
}
29062906

29072907
function error($message)

0 commit comments

Comments
 (0)