From dffa71d36ac6d55a1389227407fd6483caf900e8 Mon Sep 17 00:00:00 2001 From: Matthew Podwysocki Date: Thu, 5 Oct 2017 00:22:10 -0400 Subject: [PATCH] fix(endWith): fix endWith unit tests --- spec/asynciterable-operators/endwith-spec.ts | 2 +- spec/iterable-operators/endwith-spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/asynciterable-operators/endwith-spec.ts b/spec/asynciterable-operators/endwith-spec.ts index c584d336..338b0a3c 100644 --- a/spec/asynciterable-operators/endwith-spec.ts +++ b/spec/asynciterable-operators/endwith-spec.ts @@ -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(); }); diff --git a/spec/iterable-operators/endwith-spec.ts b/spec/iterable-operators/endwith-spec.ts index 88e8c653..03f4056d 100644 --- a/spec/iterable-operators/endwith-spec.ts +++ b/spec/iterable-operators/endwith-spec.ts @@ -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(); });