Fix CRLF issue in Serializer\XML test

No idea why this suddenly turned up now.
This commit is contained in:
Nikita Popov 2015-06-13 18:20:05 +02:00
parent 61e060694d
commit 04e05907c3

View File

@ -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));
}