[Pkg-javascript-commits] [node-shell-quote] 82/137: another crazy ridiculous passing parse test

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 d1beb6b32ec7ad8752b305834a21c800cae74a95
Author: James Halliday <mail at substack.net>
Date:   Mon Jun 24 04:48:28 2013 -0700

    another crazy ridiculous passing parse test
---
 test/parse.js | 1 +
 1 file changed, 1 insertion(+)

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