[Pkg-javascript-commits] [node-shell-quote] 14/137: actually the test was wrong, module works fine

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 9d7b727f2911692cffe03e7792b5defad3dd75d2
Author: James Halliday <mail at substack.net>
Date:   Mon May 28 16:04:38 2012 -0700

    actually the test was wrong, module works fine
---
 test/parse.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/parse.js b/test/parse.js
index 7a9de19..3eb1e27 100644
--- a/test/parse.js
+++ b/test/parse.js
@@ -9,7 +9,7 @@ test('parse shell commands', function (t) {
     );
     t.same(parse('a b\\ c d'), [ 'a', 'b c', 'd' ]);
     t.same(parse('\\$beep bo\\`op'), [ '$beep', 'bo`op' ]);
-    t.same(parse('echo "foo = \"foo\""'), [ 'echo', 'foo = "foo"' ]);
+    t.same(parse('echo "foo = \\"foo\\""'), [ 'echo', 'foo = "foo"' ]);
     
     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