[Pkg-javascript-commits] [node-shell-quote] 09/137: failing test for escaped space
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 c6ff3dc6811816a667e55a69ec09bffa52f5ee0a
Author: James Halliday <mail at substack.net>
Date: Fri May 18 10:33:25 2012 -0700
failing test for escaped space
---
test/parse.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/parse.js b/test/parse.js
index f3c4e61..803492e 100644
--- a/test/parse.js
+++ b/test/parse.js
@@ -8,5 +8,7 @@ test('parse shell commands', function (t) {
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.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