Tests: fix another traverse test

Tricky test - if isolated, was executed fine, but falling
if runned with other tests

Ref b97c8d30c5
This commit is contained in:
Oleg Gaidarenko 2016-01-31 12:09:48 +03:00
parent b97c8d30c5
commit f1300f1887

View File

@ -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 ) {