Skip to content

Commit 8918bc5

Browse files
committed
Fix tests
1 parent be1afca commit 8918bc5

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/iter/shift/test

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/iter/shift/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ tape( 'the function returns an iterator protocol-compliant object (callback)', f
356356

357357
function clbk( v ) {
358358
FLG = true;
359-
t.equal( v, values[ i ], 'returns expected value' );
359+
t.equal( v, values[ 0 ], 'returns expected value' );
360360
}
361361
});
362362

@@ -531,7 +531,7 @@ tape( 'the function supports specifying the callback execution context', functio
531531

532532
function clbk( v ) {
533533
this.FLG = true; // eslint-disable-line no-invalid-this
534-
t.equal( v, values[ i ], 'returns expected value' );
534+
t.equal( v, values[ 0 ], 'returns expected value' );
535535
}
536536
});
537537

@@ -576,7 +576,7 @@ tape( 'the function supports specifying the callback execution context (value+do
576576

577577
function clbk( v ) {
578578
this.FLG = true; // eslint-disable-line no-invalid-this
579-
t.equal( v, values[ i ], 'returns expected value' );
579+
t.equal( v, values[ 0 ], 'returns expected value' );
580580
}
581581
});
582582

0 commit comments

Comments
 (0)