Index: trunk/extensions/MobileFrontend/tests/MobileFormatterTest.php |
— | — | @@ -9,6 +9,7 @@ |
10 | 10 | */ |
11 | 11 | public function testXhtmlTransform( $input, $expected, $callback = false ) { |
12 | 12 | $t = Title::newFromText( 'Mobile' ); |
| 13 | + $input = str_replace( "\r", '', $input ); // "yay" to Windows! |
13 | 14 | $mf = new MobileFormatter( "<div id='content'>$input</div>", $t, 'XHTML' ); |
14 | 15 | if ( $callback ) { |
15 | 16 | $callback( $mf ); |