dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "resourceloader: Simplify StringSet fallback"
[lhc/web/wiklou.git]
/
tests
/
qunit
/
suites
/
resources
/
jquery
/
jquery.highlightText.test.js
diff --git
a/tests/qunit/suites/resources/jquery/jquery.highlightText.test.js
b/tests/qunit/suites/resources/jquery/jquery.highlightText.test.js
index
277ba3f
..
b73b266
100644
(file)
--- a/
tests/qunit/suites/resources/jquery/jquery.highlightText.test.js
+++ b/
tests/qunit/suites/resources/jquery/jquery.highlightText.test.js
@@
-1,4
+1,4
@@
-( function (
$
) {
+( function () {
QUnit.module( 'jquery.highlightText', QUnit.newMwEnvironment() );
QUnit.test( 'Check', function ( assert ) {
QUnit.module( 'jquery.highlightText', QUnit.newMwEnvironment() );
QUnit.test( 'Check', function ( assert ) {
@@
-224,7
+224,7
@@
cases.forEach( function ( item ) {
$fixture = $( '<p>' ).text( item.text ).highlightText( item.highlight );
cases.forEach( function ( item ) {
$fixture = $( '<p>' ).text( item.text ).highlightText( item.highlight );
- assert.
e
qual(
+ assert.
strictE
qual(
$fixture.html(),
// Re-parse to normalize
$( '<p>' ).html( item.expected ).html(),
$fixture.html(),
// Re-parse to normalize
$( '<p>' ).html( item.expected ).html(),
@@
-232,4
+232,4
@@
);
} );
} );
);
} );
} );
-}(
jQuery
) );
+}() );