markTestSkipped( 'Tidy not found' ); } } /** * @dataProvider provideTestWrapping */ public function testTidyWrapping( $expected, $text, $msg = '' ) { $text = MWTidy::tidy( $text ); // We don't care about where Tidy wants to stick is
s
$text = trim( preg_replace( '#?p>#', '', $text ) );
// Windows, we love you!
$text = str_replace( "\r", '', $text );
$this->assertEquals( $expected, $text, $msg );
}
public static function provideTestWrapping() {
$testMathML = <<<'MathML'
MathML;
return array(
array(
'