From 72239e6f0ea77d8be0ad4f682b7ae7d142144395 Mon Sep 17 00:00:00 2001 From: Wes Carr Date: Wed, 26 Oct 2022 11:09:20 -0700 Subject: [PATCH] [Tests] Remove duplicate test (#12) Fixes #8 --- test/dash.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/dash.js b/test/dash.js index 7c897d4..66d9bbd 100644 --- a/test/dash.js +++ b/test/dash.js @@ -19,10 +19,9 @@ test('-', function (t) { }); test('-a -- b', function (t) { - t.plan(3); + t.plan(2); t.deepEqual(parse(['-a', '--', 'b']), { a: true, _: ['b'] }); t.deepEqual(parse(['--a', '--', 'b']), { a: true, _: ['b'] }); - t.deepEqual(parse(['--a', '--', 'b']), { a: true, _: ['b'] }); }); test('move arguments after the -- into their own `--` array', function (t) {