From 411286f60c6b5552f5629b33fbf02188398f2441 Mon Sep 17 00:00:00 2001 From: Timur Sevimli Date: Sat, 30 Nov 2024 12:40:40 +0300 Subject: [PATCH] Remove useless assert --- test/kuyruk.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/kuyruk.js b/test/kuyruk.js index cd200c7..31832cf 100644 --- a/test/kuyruk.js +++ b/test/kuyruk.js @@ -536,9 +536,7 @@ test('Priority', (t) => { t.equal(res, cases[i++]); }); - t.plan(cases.length + 1); - - t.equal(cases.length, cases.length); + t.plan(cases.length); const max = cases.length; for (let i = 0; i < max; i++) {