Skip to content

Commit fd817da

Browse files
committedOct 30, 2024
test: replace duplicate test
1 parent ed4c8d6 commit fd817da

File tree

1 file changed

+6
-6
lines changed
  • lib/node_modules/@stdlib/iter/cuevery/test

1 file changed

+6
-6
lines changed
 

Diff for: ‎lib/node_modules/@stdlib/iter/cuevery/test/test.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -162,29 +162,29 @@ tape( 'if at least one upstream iterator value is falsy, the function returns an
162162
t.end();
163163
});
164164

165-
tape( 'if all upstream iterator values are truthy, the function returns an iterator protocol-compliant object which always returns truthy values', function test( t ) {
165+
tape( 'if all upstream iterator values are falsy, the function returns an iterator protocol-compliant object which always returns falsy values upon encountering the first falsy value', function test( t ) {
166166
var expected;
167167
var actual;
168168
var values;
169169
var it;
170170
var i;
171171

172-
values = [ 1, 1, 1, 1 ];
172+
values = [ 0, 0, 0, 0 ];
173173
expected = [
174174
{
175-
'value': true,
175+
'value': false,
176176
'done': false
177177
},
178178
{
179-
'value': true,
179+
'value': false,
180180
'done': false
181181
},
182182
{
183-
'value': true,
183+
'value': false,
184184
'done': false
185185
},
186186
{
187-
'value': true,
187+
'value': false,
188188
'done': false
189189
},
190190
{

0 commit comments

Comments
 (0)