[Pkg-javascript-commits] [node-shell-quote] 16/137: fixed a failing env test

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 17d1fdac759e7a94ffc6edc26af27769d30e53bb
Author: James Halliday <mail at substack.net>
Date:   Sun Apr 14 19:46:31 2013 -0700

    fixed a failing env test
---
 test/env.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/env.js b/test/env.js
index 0d65c2c..8ca4fab 100644
--- a/test/env.js
+++ b/test/env.js
@@ -4,7 +4,7 @@ var parse = require('../').parse;
 test('expand environment variables', function (t) {
     t.same(parse('a $XYZ c', { XYZ: 'b' }), [ 'a', 'b', 'c' ]);
     t.same(parse('a${XYZ}c', { XYZ: 'b' }), [ 'abc' ]);
-    t.same(parse('a${XYZ}c $XYZ', { XYZ: 'b' }), [ 'abcb' ]);
+    t.same(parse('a${XYZ}c $XYZ', { XYZ: 'b' }), [ 'abcb b' ]);
     t.same(parse('"_$X-$Y_"', { X: 'a', Y: 'b' }), [ '_a-b_' ]);
     t.same(parse("'_$X-$Y_'", { X: 'a', Y: 'b' }), [ '_$X-$Y_' ]);
     t.same(parse('qrs"$zzz"wxy', { zzz: 'tuv' }), [ 'qrstuvwxy' ]);

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