Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f)
This commit is contained in:
commit
28ccc3db2d
13974 changed files with 2618436 additions and 0 deletions
9
node_modules/minimist/test/parse_modified.js
generated
vendored
Normal file
9
node_modules/minimist/test/parse_modified.js
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
var parse = require('../');
|
||||
var test = require('tape');
|
||||
|
||||
test('parse with modifier functions' , function (t) {
|
||||
t.plan(1);
|
||||
|
||||
var argv = parse([ '-b', '123' ], { boolean: 'b' });
|
||||
t.deepEqual(argv, { b: true, _: [123] });
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue