File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ class SlicingDiceTester {
307307 * @param (object) result - the data received from Slicing Dice API
308308 */
309309 compareJsonValue ( expected , result ) {
310- for ( var key in expected ) {
310+ for ( let key in expected ) {
311311 if ( expected . hasOwnProperty ( key ) ) {
312312 if ( ! result . hasOwnProperty ( key ) ) {
313313 return false ;
@@ -332,11 +332,11 @@ class SlicingDiceTester {
332332 return false ;
333333 }
334334
335- var i = expected . length ;
335+ let i = expected . length ;
336336
337337 while ( i -- ) {
338- var j = result . length ;
339- var found = false ;
338+ let j = result . length ;
339+ let found = false ;
340340
341341 while ( ! found && j -- ) {
342342 if ( this . compareJson ( expected [ i ] , result [ j ] ) ) {
@@ -361,7 +361,7 @@ class SlicingDiceTester {
361361 let failedTestsStr = "" ;
362362
363363 if ( this . failedTests . length > 0 ) {
364- for ( var item in this . failedTests ) {
364+ for ( let item in this . failedTests ) {
365365 failedTestsStr += " - {0}\n" . format ( this . failedTests [ item ] ) ;
366366 }
367367 }
You can’t perform that action at this time.
0 commit comments