8000 failing -k=v short test · minimistjs/minimist@63416b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 63416b8

Browse files
author
James Halliday
committed
failing -k=v short test
1 parent 86b321a commit 63416b8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/kv_short.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
var parse = require('../');
2+
var test = require('tape');
3+
4+
test('short -k=v' , function (t) {
5+
t.plan(1);
6+
7+
var argv = parse([ '-b=123' ]);
8+
t.deepEqual(argv, { b: 123, _: [] });
9+
});

0 commit comments

Comments
 (0)
0