Reinstalled with --fix
Some checks failed
Lint / pre-commit Linting (push) Failing after 51s

This commit is contained in:
2023-11-26 16:51:02 +01:00
parent ae8a515ded
commit 67796af83c
671 changed files with 158468 additions and 19041 deletions

24
node_modules/minimist/test/dotted.js generated vendored Normal file
View File

@ -0,0 +1,24 @@
'use strict';
var parse = require('../');
var test = require('tape');
test('dotted alias', function (t) {
var argv = parse(['--a.b', '22'], { default: { 'a.b': 11 }, alias: { 'a.b': 'aa.bb' } });
t.equal(argv.a.b, 22);
t.equal(argv.aa.bb, 22);
t.end();
});
test('dotted default', function (t) {
var argv = parse('', { default: { 'a.b': 11 }, alias: { 'a.b': 'aa.bb' } });
t.equal(argv.a.b, 11);
t.equal(argv.aa.bb, 11);
t.end();
});
test('dotted default with no alias', function (t) {
var argv = parse('', { default: { 'a.b': 11 } });
t.equal(argv.a.b, 11);
t.end();
});