[Pkg-javascript-commits] [node-shell-quote] 51/137: another double-char op test just to be sure

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 19:19:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-shell-quote.

commit 5cf1bf29e3324a6cc1e40c01c4529b28ca0b47a5
Author: James Halliday <mail at substack.net>
Date:   Mon May 13 03:17:45 2013 -0700

    another double-char op test just to be sure
---
 test/op.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/op.js b/test/op.js
index 5e65927..33facb3 100644
--- a/test/op.js
+++ b/test/op.js
@@ -44,6 +44,10 @@ test('double operators', function (t) {
         parse('beep\\&&boop||byte'),
         [ 'beep&', { op: '&' }, 'boop', { op: '||' }, 'byte' ]
     );
+    t.same(
+        parse('beep;;boop|&byte'),
+        [ 'beep', { op: ';;' }, 'boop', { op: '|&' }, 'byte' ]
+    );
     
     t.end();
 });

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-shell-quote.git



More information about the Pkg-javascript-commits mailing list