(bug 37390) Clean up QUnit test suites
[lhc/web/wiklou.git] / tests / qunit / suites / resources / mediawiki.api / mediawiki.api.parse.test.js
index 246b74a..f33edb0 100644 (file)
@@ -9,7 +9,7 @@ QUnit.asyncTest( 'Simple', function ( assert ) {
        api.parse( "'''Hello world'''" )
                .done( function ( html ) {
                        // Html also contains "NewPP report", so only check the first part
-                       assert.equal( html.substr( 0, 26 ), '<p><b>Hello world</b>\n</p>',
+                       assert.equal( html.substr( 0, 25 ), '<p><b>Hello world</b></p>',
                                'Wikitext to html parsing works.'
                        );