Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class ParsedownTest extends TestCase |
||
9 | { |
||
10 | public function testHelperWorks() |
||
11 | { |
||
12 | $result = parsedown('# Heading 1'); |
||
13 | |||
14 | $this->assertEquals('<h1>Heading 1</h1>', $result); |
||
15 | } |
||
16 | |||
17 | public function testFacadeWorks() |
||
18 | { |
||
19 | $result = Parsedown::text('# Heading 1'); |
||
20 | |||
21 | $this->assertEquals('<h1>Heading 1</h1>', $result); |
||
22 | } |
||
23 | |||
24 | public function testSingletonWorks() |
||
29 | } |
||
30 | } |
||
31 |