From f3a3376e247dc174d55738e126a90b02c2c61f2a Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 19 Feb 2022 15:06:35 +0000 Subject: [PATCH] It was the test that was wrong all along --- test/pattern.test.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pattern.test.mjs b/test/pattern.test.mjs index 5ba702fa..3778b963 100644 --- a/test/pattern.test.mjs +++ b/test/pattern.test.mjs @@ -180,8 +180,8 @@ describe('Pattern', function() { }) it('Can alternate', function () { assert.deepStrictEqual( - pure(10).when(slowcat(true,false),add(3)).fast(4).firstCycle, - slowcat(13,10,13,10).firstCycle + pure(10).when(slowcat(true,false),add(3)).fast(4)._sortEventsByPart().firstCycle, + fastcat(13,10,13,10).firstCycle ) }) })