We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 512d784 commit c286cdeCopy full SHA for c286cde
test/inlineBrackets.js
@@ -2,7 +2,15 @@ var subarg = require('..');
2
var test = require('tape');
3
4
test('inline brackets', function (t) {
5
- t.plan(6);
+ t.plan(7);
6
+
7
+ t.deepEqual(
8
+ subarg('http://localhost\?q=\[1\]'.split(/\s+/)),
9
+ {
10
+ _: [ 'http://localhost?q=[1]' ]
11
+ }
12
+ )
13
14
t.deepEqual(
15
subarg('beep -t [ boop -o a.txt -u http://localhost -u http://localhost\?q=\[1\] -q]'.split(/\s+/)),
16
{
0 commit comments