Skip to content

Commit

Permalink
test for parsed ops objects in quote()
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed May 13, 2013
1 parent 17a40ed commit 59fb71b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/quote.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ test('quote', function (t) {
t.equal(quote([]), '');
t.end();
});

test('quote ops', function (t) {
t.equal(quote([ 'a', { op: '|' }, 'b' ]), 'a \\| b');
t.end();
});

0 comments on commit 59fb71b

Please sign in to comment.