mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-30 04:29:15 +01:00
Fix CRLF issue in Serializer\XML test
No idea why this suddenly turned up now.
This commit is contained in:
parent
61e060694d
commit
04e05907c3
@ -150,6 +150,7 @@ XML;
|
||||
$parser = new PhpParser\Parser(new PhpParser\Lexer);
|
||||
$serializer = new XML;
|
||||
|
||||
$code = str_replace("\r\n", "\n", $code);
|
||||
$stmts = $parser->parse($code);
|
||||
$this->assertXmlStringEqualsXmlString($xml, $serializer->serialize($stmts));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user