From ee2bc06bae0ed0a8f29ea11b4e3dcc891ac19c0a Mon Sep 17 00:00:00 2001 From: Manuel Spigolon Date: Fri, 2 Sep 2022 21:44:28 +0200 Subject: [PATCH] fix: test description --- test/default-values.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/default-values.js b/test/default-values.js index 75dd1a7..8182865 100644 --- a/test/default-values.js +++ b/test/default-values.js @@ -166,9 +166,9 @@ test('proto as default value must be ignored', (t) => { }); -test('multiple as false should expect a String and not an array', (t) => { +test('multiple as false should expect a String', (t) => { const args = []; - const options = { alpha: { type: 'string', multiple: false, default: 42 } }; + const options = { alpha: { type: 'string', multiple: false, default: ['array'] } }; t.throws(() => { parseArgs({ args, options }); }, /alpha\.default must be String/