Code Review
/
vnfsdk
/
refrepo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug:Fix file validation issue
[vnfsdk/refrepo.git]
/
vnfmarket
/
src
/
main
/
webapp
/
vnfmarket
/
node_modules
/
meow
/
node_modules
/
minimist
/
test
/
stop_early.js
1
var parse = require('../');
2
var test = require('tape');
3
4
test('stops parsing on the first non-option when stopEarly is set', function (t) {
5
var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], {
6
stopEarly: true
7
});
8
9
t.deepEqual(argv, {
10
aaa: 'bbb',
11
_: ['ccc', '--ddd']
12
});
13
14
t.end();
15
});