Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
35 | public function testBasicParser($fileInput, $fileExpected) |
||
36 | { |
||
37 | $renderer = Factory::createRenderer('markdown'); |
||
38 | |||
39 | $output = $renderer->render(file_get_contents($fileInput)); |
||
40 | |||
41 | $expected = file_get_contents($fileExpected); |
||
42 | |||
43 | $output = str_replace(array("\r\n", "\r"), "\n", $output); |
||
44 | $expected = str_replace(array("\r\n", "\r"), "\n", $expected); |
||
45 | |||
46 | $this->assertEquals($expected, $output); |
||
47 | } |
||
48 | } |
||
49 |