Skip to content

Commit f19d699

Browse files
committed
chore: revert
1 parent 6e344b9 commit f19d699

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

tests/Base.php

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -204,20 +204,7 @@ public function testHTTPSuccess(): void
204204

205205
echo \implode("\n", $output);
206206

207-
$this->assertEquals([], \array_diff(
208-
$this->normalizeConsoleLines($output),
209-
$this->normalizeConsoleLines($this->expectedOutput)
210-
));
211-
}
212-
213-
private function normalizeConsoleLines($lines)
214-
{
215-
return \array_map(function (string $line) {
216-
if (\str_starts_with($line, '{')) {
217-
return \json_decode($line);
218-
}
219-
return $line;
220-
}, $lines);
207+
$this->assertEquals([], \array_diff($this->expectedOutput, $output));
221208
}
222209

223210
private function rmdirRecursive($dir): void

0 commit comments

Comments
 (0)