Skip to content

Commit

Permalink
fix(endWith): fix endWith unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpodwysocki committed Oct 5, 2017
1 parent f967e3b commit dffa71d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/asynciterable-operators/endwith-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { endWith } = Ix.asynciterable;

test('AsyncIterable#endWith adds to end', async t => {
const e = range(0, 5);
const r = endWith(e, 6, 7);
const r = endWith(e, 5, 6);
t.true(await sequenceEqual(r, range(0, 7)));
t.end();
});
2 changes: 1 addition & 1 deletion spec/iterable-operators/endwith-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { endWith } = Ix.iterable;

test('Iterable#endWith adds to end', t => {
const e = range(0, 5);
const r = endWith(e, 6, 7);
const r = endWith(e, 5, 6);
t.true(sequenceEqual(r, range(0, 7)));
t.end();
});

0 comments on commit dffa71d

Please sign in to comment.