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 014b22e commit c15463aCopy full SHA for c15463a
tests/ControllerParserTest.php
@@ -91,9 +91,11 @@
91
$parser->parse($namespace);
92
93
$content = $parser->getContentWithAdditionalMethods($additional, $namespaces);
94
- $result = trim(file_get_contents(__DIR__ . "/expects/Controllers/{$expect}.expect"));
95
96
- expect($content)->toBe($result);
+ $expectPathFile = __DIR__ . "/expects/Controllers/{$expect}.expect";
+ $expectResult = implode("\n", file($expectPathFile, FILE_IGNORE_NEW_LINES));
97
+
98
+ expect($content)->toBe($expectResult);
99
100
expect($namespaces)->toBe($expectNamespaces);
101
})->with([
0 commit comments