Urara-Blog/node_modules/.pnpm-store/v3/files/05/9fedd56d47ea0d1ecda62c37d1a790746a0bc1e1ea40914d6e853459ab0d85d7b728ad1fc9283ffb59b2f18dd66700bdec337af4526244548365c3b3c72c70
2022-08-14 01:14:53 +08:00

9 lines
238 B
Text

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] });
});