[Pkg-javascript-commits] [node-shell-quote] 31/137: another test to be even more sure

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 19:19:36 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 5afd47ba563d4c1bb7966695e100f63da4b65915
Author: James Halliday <mail at substack.net>
Date:   Sun Apr 14 21:22:26 2013 -0700

    another test to be even more sure
---
 test/env.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/env.js b/test/env.js
index b421721..8fe3763 100644
--- a/test/env.js
+++ b/test/env.js
@@ -14,6 +14,7 @@ test('expand environment variables', function (t) {
     t.same(parse("ab\\$x", { x: 'c' }), [ 'ab$x' ]);
     t.same(parse("ab${x}def", { x: 'c' }), [ 'abcdef' ]);
     t.same(parse("ab\\${x}def", { x: 'c' }), [ 'ab${x}def' ]);
+    t.same(parse('"ab\\${x}def"', { x: 'c' }), [ 'ab${x}def' ]);
     
     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