diff options
author | William Robinet <william.robinet@conostix.com> | 2016-02-17 16:34:24 +0100 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2016-02-17 14:13:45 -0500 |
commit | 12038c7234ed808b2116a9f03c448c139d5fb9ae (patch) | |
tree | 194ea62aa0823cc177055697bd874cac27351ba2 /test | |
parent | 615d92517b52d7e70d1c83397ed8207373a95137 (diff) | |
download | jquery-12038c7234ed808b2116a9f03c448c139d5fb9ae.tar.gz jquery-12038c7234ed808b2116a9f03c448c139d5fb9ae.zip |
Tests: fix typos
Closes gh-2927
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/attributes.js | 4 | ||||
-rw-r--r-- | test/unit/core.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js index f691e31ee..6ba64060e 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -128,8 +128,8 @@ QUnit.test( "attr(String)", function( assert ) { assert.equal( jQuery( option ).prop( "selected" ), true, "Make sure that a single option is selected, even when in an optgroup." ); $img = jQuery( "<img style='display:none' width='215' height='53' src='data/1x1.jpg'/>" ).appendTo( "body" ); - assert.equal( $img.attr( "width" ), "215", "Retrieve width attribute an an element with display:none." ); - assert.equal( $img.attr( "height" ), "53", "Retrieve height attribute an an element with display:none." ); + assert.equal( $img.attr( "width" ), "215", "Retrieve width attribute on an element with display:none." ); + assert.equal( $img.attr( "height" ), "53", "Retrieve height attribute on an element with display:none." ); // Check for style support styleElem = jQuery( "<div/>" ).appendTo( "#qunit-fixture" ).css( { diff --git a/test/unit/core.js b/test/unit/core.js index 4f77e0626..accba6bd6 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1231,7 +1231,7 @@ QUnit.test( "jQuery.extend(true,{},{a:[], o:{}}); deep copy with array, followed // If "copyIsArray" doesn't get reset to false, the check // will evaluate true and enter the array copy block // instead of the object copy block. Since the ternary in the - // "copyIsArray" block will will evaluate to false + // "copyIsArray" block will evaluate to false // (check if operating on an array with ), this will be // replaced by an empty array. object: {} |