mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: minor typos
Close gh-3671
This commit is contained in:
parent
bef46a2aeb
commit
5bdd1ca1ab
@ -813,7 +813,7 @@ QUnit.test( "end()", function( assert ) {
|
|||||||
|
|
||||||
var x = jQuery( "#yahoo" );
|
var x = jQuery( "#yahoo" );
|
||||||
x.parent();
|
x.parent();
|
||||||
assert.equal( "Yahoo", jQuery( "#yahoo" ).text(), "check for non-destructive behaviour" );
|
assert.equal( "Yahoo", jQuery( "#yahoo" ).text(), "check for non-destructive behavior" );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
QUnit.test( "length", function( assert ) {
|
QUnit.test( "length", function( assert ) {
|
||||||
|
@ -2279,7 +2279,7 @@ QUnit.test( "Cloned, detached HTML5 elems (#10667,10670)", function( assert ) {
|
|||||||
// First clone
|
// First clone
|
||||||
$clone = $section.clone();
|
$clone = $section.clone();
|
||||||
|
|
||||||
// This branch tests a known behaviour in modern browsers that should never fail.
|
// This branch tests a known behavior in modern browsers that should never fail.
|
||||||
// Included for expected test count symmetry (expecting 1)
|
// Included for expected test count symmetry (expecting 1)
|
||||||
assert.equal( $clone[ 0 ].nodeName, "SECTION", "detached clone nodeName matches 'SECTION'" );
|
assert.equal( $clone[ 0 ].nodeName, "SECTION", "detached clone nodeName matches 'SECTION'" );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user