PortableInfobox/tests/MediaWikiParserTest.php
2015-05-07 14:46:17 +02:00

11 lines
302 B
PHP

<?php
class MediaWikiParserTest extends WikiaBaseTest {
public function testAsideTagPWrappedDuringParsing() {
$aside = "<aside></aside>";
$result = ( new Parser() )->doBlockLevels( $aside, true );
//parser adds new line at the end of block
$this->assertEquals( $aside . "\n", $result );
}
}