Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
35 | public function testIssue() |
||
36 | { |
||
37 | $parser = new Parser([ |
||
38 | 'strictMath' => true, |
||
39 | ]); |
||
40 | |||
41 | $parser->parseString( |
||
42 | 'body { total-width: (1 * 6em * 12) + (2em * 12); }' |
||
43 | ); |
||
44 | |||
45 | $css = $parser->getCSS(); |
||
46 | |||
47 | $expected = 'body { |
||
48 | total-width: (1 * 6em * 12) + (2em * 12); |
||
49 | } |
||
50 | '; |
||
51 | $this->assertEquals($expected, $css); |
||
52 | } |
||
53 | } |
||
54 |