Skip to content

Commit 59fb71b

Browse files
author
James Halliday
committed
test for parsed ops objects in quote()
1 parent 17a40ed commit 59fb71b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/quote.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ test('quote', function (t) {
1414
t.equal(quote([]), '');
1515
t.end();
1616
});
17+
18+
test('quote ops', function (t) {
19+
t.equal(quote([ 'a', { op: '|' }, 'b' ]), 'a \\| b');
20+
t.end();
21+
});

0 commit comments

Comments
 (0)