Skip to content

Commit

Permalink
test: replace forEach with for..of in test-parse-args.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
niyashiyas committed Sep 30, 2023
1 parent 81002bb commit 313d324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-parse-args.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ for(const value of candidateGreedyOptions) {
const result = parseArgs({ args, options, strict: false });
assert.deepStrictEqual(result, expectedResult);
});
};
}

test('strict: when candidate option value is plain text then does not throw', () => {
const args = ['--with', 'abc'];
Expand Down

0 comments on commit 313d324

Please sign in to comment.