Followup r95262 - remove bogus test cases that seemed to be trying to test the browse...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 23 Aug 2011 17:58:18 +0000 (17:58 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 23 Aug 2011 17:58:18 +0000 (17:58 +0000)
These test cases attempted, I think, to be bogus forced-fail cases, but the fail-forcing doesn't work because HTML 5 parsing in modern browsers parses the text into... the same as the actual expected text! :)
Resolves bug 30520.

tests/qunit/suites/resources/jquery/jquery.highlightText.test.js

index 0f2a2d3..c2e1433 100644 (file)
@@ -156,18 +156,6 @@ test( 'Check', function() {
                        text: "« L'oiseau est sur l’île »",
                        highlight: "« L'oise",
                        expected: '<span class="highlight">«</span> <span class="highlight">L\'oise</span>au est sur l’île »'
-               },
-               {
-                       desc: 'Test 100: TESTCASE FOR QUNIT FAILS: a wrong expected string was not detected in Firefox 6.0 and Chrome',
-                       text: 'Österreich',
-                       highlight: 'Ö',
-                       expected: '<span class="highlight">Ö</span>sterreich</span this wrong tag is not detected as test failure in Firefox 6.0 or Chrome>'
-               },
-               {
-                       desc: 'Test 101: TESTCASE FOR QUNIT FAILS: a wrong expected string was not detected in Firefox 6.0 or Chrome',
-                       text: 'Oesterreich',
-                       highlight: 'Oe',
-                       expected: '<span class="highlight">Oe</span>sterreich</span this wrong tag is not detected as test failure in Firefox 6.0 or Chrome>'
                }
        ];
        expect(cases.length);