We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52c529c commit ad120d2Copy full SHA for ad120d2
run-tests.php
@@ -474,8 +474,8 @@ function generate_diff($wanted,$output)
474
$o1 = array_diff($o,$w);
475
$w2 = array();
476
$o2 = array();
477
- foreach($w1 as $idx => $val) $w2[sprintf("%03d<",$idx)] = sprintf("%03d- $val", $idx+1);
478
- foreach($o1 as $idx => $val) $o2[sprintf("%03d>",$idx)] = sprintf("%03d+ $val", $idx+1);
+ foreach($w1 as $idx => $val) $w2[sprintf("%03d<",$idx)] = sprintf("%03d- ", $idx+1).$val;
+ foreach($o1 as $idx => $val) $o2[sprintf("%03d>",$idx)] = sprintf("%03d+ ", $idx+1).$val;
479
$diff = array_merge($w2, $o2);
480
ksort($diff);
481
return implode("\r\n", $diff);
0 commit comments