source: node_modules/minimist/test/parse_modified.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 237 bytes
Line 
1'use strict';
2
3var parse = require('../');
4var test = require('tape');
5
6test('parse with modifier functions', function (t) {
7 t.plan(1);
8
9 var argv = parse(['-b', '123'], { boolean: 'b' });
10 t.deepEqual(argv, { b: true, _: [123] });
11});
Note: See TracBrowser for help on using the repository browser.