Skip to content

Commit ee2bc06

Browse files
committed
fix: test description
1 parent 662664d commit ee2bc06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/default-values.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ test('proto as default value must be ignored', (t) => {
166166
});
167167

168168

169-
test('multiple as false should expect a String and not an array', (t) => {
169+
test('multiple as false should expect a String', (t) => {
170170
const args = [];
171-
const options = { alpha: { type: 'string', multiple: false, default: 42 } };
171+
const options = { alpha: { type: 'string', multiple: false, default: ['array'] } };
172172
t.throws(() => {
173173
parseArgs({ args, options });
174174
}, /alpha\.default must be String/

0 commit comments

Comments
 (0)