• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1var parse = require('../');
2var test = require('tape');
3
4test('parse with modifier functions' , function (t) {
5    t.plan(1);
6
7    var argv = parse([ '-b', '123' ], { boolean: 'b' });
8    t.deepEqual(argv, { b: true, _: [123] });
9});
10