[Pkg-javascript-commits] [node-shell-quote] 11/137: failing test for unescaped metachars

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 19:19:35 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 a315125a0742b01799c89469efd20821540694f6
Author: James Halliday <mail at substack.net>
Date:   Fri May 18 11:24:41 2012 -0700

    failing test for unescaped metachars
---
 test/parse.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/parse.js b/test/parse.js
index 803492e..63cd001 100644
--- a/test/parse.js
+++ b/test/parse.js
@@ -3,12 +3,12 @@ var parse = require('../').parse;
 
 test('parse shell commands', function (t) {
     t.same(parse('a \'b\' "c"'), [ 'a', 'b', 'c' ]);
-    
     t.same(
         parse('beep "boop" \'foo bar baz\' "it\'s \\"so\\" groovy"'),
         [ 'beep', 'boop', 'foo bar baz', 'it\'s "so" groovy' ]
     );
-    
     t.same(parse('a b\\ c d'), [ 'a', 'b c', 'd' ]);
+    t.same(parse('\\$beep bo\\`op'), [ '$beep', 'bo`op' ]);
+    
     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