Tests: minor typos

Close gh-3671
This commit is contained in:
Andreas Solleder 2017-05-19 22:28:54 +02:00 committed by Timmy Willison
parent bef46a2aeb
commit 5bdd1ca1ab
No known key found for this signature in database
GPG Key ID: 5F0C8B73EF56CE6F
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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'" );