Skip to content

Commit

Permalink
Tests: Test Sizzle.isXML, not jQuery.isXMLDoc
Browse files Browse the repository at this point in the history
By mistake, the jQuery API has been tested instead of the Sizzle one.

Closes gh-487
  • Loading branch information
mgol authored Sep 19, 2022
1 parent 3798e3d commit d0764e0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/unit/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,11 @@ QUnit.test( "Sizzle.isXML", function( assert ) {
assert.ok( true, "Cannot test an incomplete DOM" );
}

assert.strictEqual( jQuery.isXMLDoc( undefined ), false, "undefined" );
assert.strictEqual( jQuery.isXMLDoc( null ), false, "null" );
assert.strictEqual( jQuery.isXMLDoc( false ), false, "false" );
assert.strictEqual( jQuery.isXMLDoc( 0 ), false, "0" );
assert.strictEqual( jQuery.isXMLDoc( "" ), false, "\"\"" );
assert.strictEqual( Sizzle.isXML( undefined ), false, "undefined" );
assert.strictEqual( Sizzle.isXML( null ), false, "null" );
assert.strictEqual( Sizzle.isXML( false ), false, "false" );
assert.strictEqual( Sizzle.isXML( 0 ), false, "0" );
assert.strictEqual( Sizzle.isXML( "" ), false, "\"\"" );
} );

QUnit.test( "Sizzle.uniqueSort", function( assert ) {
Expand Down

0 comments on commit d0764e0

Please sign in to comment.