[Pkg-javascript-commits] [node-shell-quote] 62/137: fixed the env test, everything is fine

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 19:19:39 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 a45897f53ba184a77bc762c63777b95590a83962
Author: James Halliday <mail at substack.net>
Date:   Mon May 13 05:08:49 2013 -0700

    fixed the env test, everything is fine
---
 test/env.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/env.js b/test/env.js
index 63cb7c9..e1ac7cb 100644
--- a/test/env.js
+++ b/test/env.js
@@ -33,7 +33,7 @@ test('special shell parameters', function (t) {
     
     chars.forEach(function (c) {
         var env = {};
-        env['$' + c] = 'xxx';
+        env[c] = 'xxx';
         t.same(parse('a $' + c + ' c', env), [ 'a', 'xxx', 'c' ]);
     });
 });

-- 
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