diff --git a/test/quote.js b/test/quote.js index b828ad0..460dcc2 100644 --- a/test/quote.js +++ b/test/quote.js @@ -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(); +});