build: Enable qunit/no-assert-equal and enforce
[lhc/web/wiklou.git] / tests / qunit / suites / resources / jquery / jquery.highlightText.test.js
index 0dac22e..0e34e34 100644 (file)
                                }
                        ];
 
-               $.each( cases, function ( i, item ) {
+               cases.forEach( function ( item ) {
                        $fixture = $( '<p>' ).text( item.text ).highlightText( item.highlight );
-                       assert.equal(
+                       assert.strictEqual(
                                $fixture.html(),
                                // Re-parse to normalize
                                $( '<p>' ).html( item.expected ).html(),