@@ -38,7 +38,7 @@ QUnit.test( "jQuery()", function( assert ) {
3838 }
3939 if ( jQuery . fn . offset ) {
4040 expected ++ ;
41- attrObj [ "offset" ] = { "top" : 1 , "left" : 1 } ;
41+ attrObj [ "offset" ] = { "top" : 1 , "left" : 1 } ;
4242 }
4343 if ( jQuery . fn . css ) {
4444 expected += 2 ;
@@ -95,7 +95,7 @@ QUnit.test( "jQuery()", function( assert ) {
9595 assert . equal ( div . length , 4 , "Correct number of elements generated for div hr code b" ) ;
9696 assert . equal ( div . parent ( ) . length , 0 , "Make sure that the generated HTML has no parent." ) ;
9797
98- assert . equal ( jQuery ( [ 1 , 2 , 3 ] ) . get ( 1 ) , 2 , "Test passing an array to the factory" ) ;
98+ assert . equal ( jQuery ( [ 1 , 2 , 3 ] ) . get ( 1 ) , 2 , "Test passing an array to the factory" ) ;
9999
100100 assert . equal ( jQuery ( document . body ) . get ( 0 ) , jQuery ( "body" ) . get ( 0 ) , "Test passing an html node to the factory" ) ;
101101
@@ -105,14 +105,14 @@ QUnit.test( "jQuery()", function( assert ) {
105105 elem = jQuery ( "\n\n<em>world</em>" ) [ 0 ] ;
106106 assert . equal ( elem . nodeName . toLowerCase ( ) , "em" , "leading newlines" ) ;
107107
108- elem = jQuery ( "<div/>" , attrObj ) ;
108+ elem = jQuery ( "<div/>" , attrObj ) ;
109109
110110 if ( jQuery . fn . width ) {
111111 assert . equal ( elem [ 0 ] . style . width , "10px" , "jQuery() quick setter width" ) ;
112112 }
113113
114114 if ( jQuery . fn . offset ) {
115- equal ( elem [ 0 ] . style . top , "1px" , "jQuery() quick setter offset" ) ;
115+ assert . equal ( elem [ 0 ] . style . top , "1px" , "jQuery() quick setter offset" ) ;
116116 }
117117
118118 if ( jQuery . fn . css ) {
@@ -273,8 +273,9 @@ QUnit.test( "type", function( assert ) {
273273} ) ;
274274
275275QUnit . test ( "type for `Symbol`" , function ( assert ) {
276+
276277 // Prevent reference errors
277- if ( typeof Symbol !== "function" ) {
278+ if ( typeof Symbol !== "function" ) {
278279 assert . expect ( 0 ) ;
279280 return ;
280281 }
@@ -283,7 +284,7 @@ QUnit.test( "type for `Symbol`", function( assert ) {
283284
284285 assert . equal ( jQuery . type ( Symbol ( ) ) , "symbol" , "Symbol" ) ;
285286 assert . equal ( jQuery . type ( Object ( Symbol ( ) ) ) , "symbol" , "Symbol" ) ;
286- } ) ;
287+ } ) ;
287288
288289QUnit . asyncTest ( "isPlainObject" , function ( assert ) {
289290 assert . expect ( 15 ) ;
@@ -361,7 +362,6 @@ QUnit[ typeof Symbol === "function" ? "test" : "skip" ]( "isPlainObject(Symbol)"
361362 assert . equal ( jQuery . isPlainObject ( Object ( Symbol ( ) ) ) , false , "Symbol inside an object" ) ;
362363} ) ;
363364
364-
365365QUnit . test ( "isFunction" , function ( assert ) {
366366 assert . expect ( 19 ) ;
367367
@@ -913,7 +913,7 @@ QUnit.test( "jQuery.map", function( assert ) {
913913 assert . ok ( ! result , "empty NodeList treated like array" ) ;
914914
915915 result = jQuery . map ( Array ( 4 ) , function ( v , k ) {
916- return k % 2 ? k : [ k , k , k ] ;
916+ return k % 2 ? k : [ k , k , k ] ;
917917 } ) ;
918918 assert . equal ( result . join ( "" ) , "00012223" , "Array results flattened (#2616)" ) ;
919919} ) ;
@@ -1065,7 +1065,7 @@ QUnit.test( "jQuery.grep(Array-like)", function( assert ) {
10651065 [ ] ,
10661066 "Satisfying elements absent, Array-like object used, and grep explicitly uninverted"
10671067 ) ;
1068- } ) ;
1068+ } ) ;
10691069
10701070QUnit . test ( "jQuery.extend(Object, Object)" , function ( assert ) {
10711071 assert . expect ( 28 ) ;
@@ -1183,19 +1183,19 @@ QUnit.test( "jQuery.extend(Object, Object)", function( assert ) {
11831183QUnit . test ( "jQuery.extend(Object, Object {created with \"defineProperties\"})" , function ( assert ) {
11841184 assert . expect ( 2 ) ;
11851185
1186- var definedObj = Object . defineProperties ( { } , {
1186+ var definedObj = Object . defineProperties ( { } , {
11871187 "enumerableProp" : {
1188- get : function ( ) {
1188+ get : function ( ) {
11891189 return true ;
11901190 } ,
11911191 enumerable : true
11921192 } ,
11931193 "nonenumerableProp" : {
1194- get : function ( ) {
1194+ get : function ( ) {
11951195 return true ;
11961196 }
11971197 }
1198- } ) ,
1198+ } ) ,
11991199 accessorObj = { } ;
12001200
12011201 jQuery . extend ( accessorObj , definedObj ) ;
@@ -1253,7 +1253,7 @@ QUnit.test( "jQuery.each(Object,Function)", function( assert ) {
12531253 assert . deepEqual ( seen , [ 1 , 2 ] , "Broken array iteration" ) ;
12541254
12551255 seen = [ ] ;
1256- jQuery . each ( { "a" : 1 , "b" : 2 , "c" : 3 } , function ( k , v ) {
1256+ jQuery . each ( { "a" : 1 , "b" : 2 , "c" : 3 } , function ( k , v ) {
12571257 seen . push ( v ) ;
12581258 return false ;
12591259 } ) ;
@@ -1373,7 +1373,7 @@ QUnit.test( "jQuery.makeArray", function( assert ) {
13731373
13741374 assert . equal ( ( function ( ) { return jQuery . makeArray ( arguments ) ; } ) ( 1 , 2 ) . join ( "" ) , "12" , "Pass makeArray an arguments array" ) ;
13751375
1376- assert . equal ( jQuery . makeArray ( [ 1 , 2 , 3 ] ) . join ( "" ) , "123" , "Pass makeArray a real array" ) ;
1376+ assert . equal ( jQuery . makeArray ( [ 1 , 2 , 3 ] ) . join ( "" ) , "123" , "Pass makeArray a real array" ) ;
13771377
13781378 assert . equal ( jQuery . makeArray ( ) . length , 0 , "Pass nothing to makeArray and expect an empty array" ) ;
13791379
0 commit comments