| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | public function testHtmlCommentsRemover() |
||
| 13 | { |
||
| 14 | $minifier = new Minifier(new HtmlCommentsRemover); |
||
| 15 | |||
| 16 | $source = '<!--[if IE]> |
||
| 17 | <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
||
| 18 | <![endif]--> |
||
| 19 | <!-- HTML Comment -->'; |
||
| 20 | |||
| 21 | $result = '<!--[if IE]> |
||
| 22 | <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
||
| 23 | <![endif]-->'; |
||
| 24 | |||
| 25 | $this->assertSame( |
||
| 26 | $result, |
||
| 27 | $minifier->process($source) |
||
| 28 | ); |
||
| 31 |