aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/minimist/test/stop_early.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--node_modules/minimist/test/stop_early.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/node_modules/minimist/test/stop_early.js b/node_modules/minimist/test/stop_early.js
deleted file mode 100644
index 52a6a91..0000000
--- a/node_modules/minimist/test/stop_early.js
+++ /dev/null
@@ -1,17 +0,0 @@
-'use strict';
-
-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();
-});