[FwB] Fix tests on Windows
This commit is contained in:
parent
4a177d7cb9
commit
53f4fd50ed
@ -144,7 +144,7 @@ abstract class AbstractDescriptorTest extends \PHPUnit_Framework_TestCase
|
|||||||
if ('json' === $this->getFormat()) {
|
if ('json' === $this->getFormat()) {
|
||||||
$this->assertEquals(json_decode($expectedDescription), json_decode($output->fetch()));
|
$this->assertEquals(json_decode($expectedDescription), json_decode($output->fetch()));
|
||||||
} else {
|
} else {
|
||||||
$this->assertEquals($expectedDescription, $output->fetch());
|
$this->assertEquals(trim($expectedDescription), trim(str_replace(PHP_EOL, "\n", $output->fetch())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user