Skip to content

Commit 213c061

Browse files
test: improve tests description
Co-authored-by: John Gee <[email protected]>
1 parent 6c363f5 commit 213c061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-parse-args.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ test('help value for option must be a string', () => {
10821082
);
10831083
});
10841084

1085-
test('when help arg with help value for lone short option is added, then add help text', () => {
1085+
test('when option has short and long flags, then both appear in usage', () => {
10861086
const args = ['-f', 'bar'];
10871087
const options = { foo: { type: 'string', short: 'f', help: 'help text' } };
10881088
const help = 'Description for some awesome stuff:';

0 commit comments

Comments
 (0)