summaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/node_modules/rc/node_modules/minimist/test/stop_early.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/deps/npm/node_modules/rc/node_modules/minimist/test/stop_early.js')
-rw-r--r--deps/node/deps/npm/node_modules/rc/node_modules/minimist/test/stop_early.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/deps/node/deps/npm/node_modules/rc/node_modules/minimist/test/stop_early.js b/deps/node/deps/npm/node_modules/rc/node_modules/minimist/test/stop_early.js
deleted file mode 100644
index bdf9fbcb..00000000
--- a/deps/node/deps/npm/node_modules/rc/node_modules/minimist/test/stop_early.js
+++ /dev/null
@@ -1,15 +0,0 @@
-var parse = require('../');
-var test = require('tape');
-
-test('stops parsing on the first non-option when stopEarly is set', function (t) {
- var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], {
- stopEarly: true
- });
-
- t.deepEqual(argv, {
- aaa: 'bbb',
- _: ['ccc', '--ddd']
- });
-
- t.end();
-});