From d417de70fcf39e0a7a15ba780b597914d16ca0f7 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 12 Mar 2014 18:12:23 +0100 Subject: Update to MediaWiki 1.22.4 --- tests/phpunit/includes/parser/TidyTest.php | 44 ------------------------------ 1 file changed, 44 deletions(-) delete mode 100644 tests/phpunit/includes/parser/TidyTest.php (limited to 'tests/phpunit/includes/parser/TidyTest.php') diff --git a/tests/phpunit/includes/parser/TidyTest.php b/tests/phpunit/includes/parser/TidyTest.php deleted file mode 100644 index 57a88b9d..00000000 --- a/tests/phpunit/includes/parser/TidyTest.php +++ /dev/null @@ -1,44 +0,0 @@ -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( '##', '', $text ) ); - // Windows, we love you! - $text = str_replace( "\r", '', $text ); - $this->assertEquals( $expected, $text, $msg ); - } - - public function provideTestWrapping() { - return array( - array( - 'foo', - 'foo', - ' should survive tidy' - ), - array( - 'foo', - 'foo', - ' should survive tidy' - ), - array( 'foo', 'foo', ' should survive tidy' ), - array( "\nfoo", 'foo', ' should survive tidy' ), - array( "\nfoo", 'foo', ' should survive tidy' ), - ); - } -} \ No newline at end of file -- cgit v1.2.3-54-g00ecf