diff options
author | Timmy Willison <4timmywil@gmail.com> | 2018-01-19 11:13:48 -0500 |
---|---|---|
committer | Timmy Willison <4timmywil@gmail.com> | 2018-01-19 11:13:48 -0500 |
commit | 6483af7ee5b3b0f36fdf66943dd8c66042a9ab5f (patch) | |
tree | 048091c5d93c9f296d99924537b12bcf689b3a3f /test | |
parent | 7eec97aab3476ea0094766dec958e2a0372feac3 (diff) | |
download | jquery-6483af7ee5b3b0f36fdf66943dd8c66042a9ab5f.tar.gz jquery-6483af7ee5b3b0f36fdf66943dd8c66042a9ab5f.zip |
Tests: skip test with invalid selector for selector-native tests
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/traversing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/traversing.js b/test/unit/traversing.js index eeda204a5..dd0554137 100644 --- a/test/unit/traversing.js +++ b/test/unit/traversing.js @@ -470,7 +470,7 @@ QUnit.test( "not(jQuery)", function( assert ) { ); } ); -QUnit.test( "not(Selector) excludes non-element nodes (gh-2808)", function( assert ) { +QUnit[ jQuery.find.compile ? "test" : "skip" ]( "not(Selector) excludes non-element nodes (gh-2808)", function( assert ) { assert.expect( 3 ); var mixedContents = jQuery( "#nonnodes" ).contents(), |