Skip to content

Commit 7d03e86

Browse files
committed
fixup! fix newlines
1 parent 34e1591 commit 7d03e86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/PhpParser/Printer/PHPStanPrinterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testAddingCommentOnSomeNodesFail(): void
3333
$standard = new Standard();
3434
$printerContents = $standard->printFormatPreserving($stmts, $stmts, $tokens);
3535

36-
$newlineNormalizedContents = str_replace("\n", PHP_EOL, $printerContents);
36+
$newlineNormalizedContents = str_replace("\r\n", "\n", $printerContents);
3737

3838
$this->assertStringEqualsFile(__DIR__ . '/Fixture/some_array_map.php', $newlineNormalizedContents);
3939
}

0 commit comments

Comments
 (0)