git://repos.xcallymotion.com
/
motion2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Built motion from commit 6a09e18b.|2.6.11
[motion2.git]
/
legacy-libs
/
node-pre-gyp
/
node_modules
/
minimist
/
test
/
parse_modified.js
diff --git a/legacy-libs/node-pre-gyp/node_modules/minimist/test/parse_modified.js
b/legacy-libs/node-pre-gyp/node_modules/minimist/test/parse_modified.js
new file mode 100644
(file)
index 0000000..
ab620dc
--- /dev/null
+++ b/
legacy-libs/node-pre-gyp/node_modules/minimist/test/parse_modified.js
@@ -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] });
+});