[Pkg-javascript-commits] [node-shell-quote] 76/137: failing test for quoted whitespace and nested quotes

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 19:19:41 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 9a4c11cba0f61762aaa7887591d78fe7e965cf65
Author: James Halliday <mail at substack.net>
Date:   Wed May 15 11:36:16 2013 -0700

    failing test for quoted whitespace and nested quotes
---
 test/parse.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/parse.js b/test/parse.js
index d5bbc8f..59e8929 100644
--- a/test/parse.js
+++ b/test/parse.js
@@ -14,6 +14,7 @@ test('parse shell commands', function (t) {
     t.same(parse(' '), []);
     t.same(parse("\t"), []);
     t.same(parse('a"b c d"e'), [ 'ab c de' ]);
+    t.same(parse('a\\ b"c d"\\ e f'), [ 'a bc d e', 'f' ]);
     
     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