aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/traversing.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/traversing.js')
-rw-r--r--test/unit/traversing.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unit/traversing.js b/test/unit/traversing.js
index 2ad8ee8a8..74da6d973 100644
--- a/test/unit/traversing.js
+++ b/test/unit/traversing.js
@@ -463,7 +463,11 @@ QUnit.test( "not(Array)", function( assert ) {
QUnit.test( "not(jQuery)", function( assert ) {
assert.expect( 1 );
- assert.deepEqual( jQuery( "p" ).not( jQuery( "#ap, #sndp, .result" ) ).get(), q( "firstp", "en", "sap", "first" ), "not(jQuery)" );
+ assert.deepEqual(
+ jQuery( "#qunit-fixture p" ).not( jQuery( "#ap, #sndp, .result" ) ).get(),
+ q( "firstp", "en", "sap", "first" ),
+ "not(jQuery)"
+ );
} );
QUnit.test( "not(Selector) excludes non-element nodes (gh-2808)", function( assert ) {