correct number of tests fu r94609
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 16 Aug 2011 10:29:29 +0000 (10:29 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 16 Aug 2011 10:29:29 +0000 (10:29 +0000)
tests/qunit/suites/resources/jquery/jquery.highlightText.test.js

index c416a20..ba8b763 100644 (file)
@@ -6,9 +6,9 @@ test( '-- Initial check', function() {
 } );
 
 test( 'Check', function() {
-       expect(3);
+       expect(2);
        var $fixture;
-   
+
        $fixture = $( '<p>Blue Ã–yster Cult</p>' );
        $fixture.highlightText( 'Blue' );
        equal(
@@ -26,7 +26,7 @@ test( 'Check', function() {
        /**
         * Highlighter broken on punctuation mark.
         */
-       /**
+       /**  dont forget to update the value in expect() at the top!
        $fixture = $( '<p>So good. To be there</p>' );
        $fixture.highlightText( 'good' );
        equal(