Skip to content

Commit be8c04f

Browse files
committed
chore(test): update test
1 parent c286cde commit be8c04f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/inlineBrackets.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,12 @@ test.skip('doesnt work', function (t) {
111111
)
112112

113113
t.deepEqual(
114-
subarg('beep -t [ boop -o a.txt -u [be[ep] ]'.split(/\s+/)),
114+
subarg('beep -t [ boop -o a.txt -u [ be[ep]] ]'.split(/\s+/)),
115115
{
116-
/*
116+
/* Same as above - note the context-closing bracket is right next to an inline closing bracket
117+
* If you add a space, it works
117118
* expected:
118-
* { _: [ 'beep' ], t: { _: [ 'boop' ], o: 'a.txt', u: { _: [ 'beep' ] } } }
119+
* { _: [ 'beep' ], t: { _: [ 'boop' ], o: 'a.txt', u: { _: [ 'be[ep]' ] } } }
119120
* actual:
120121
* { _: [ 'beep' ], t: true }
121122
*/
@@ -124,7 +125,7 @@ test.skip('doesnt work', function (t) {
124125
_: [ 'boop' ],
125126
o: 'a.txt',
126127
u: {
127-
_: [ 'beep' ]
128+
_: [ 'be[ep]' ]
128129
}
129130
}
130131
}

0 commit comments

Comments
 (0)