From a45897f53ba184a77bc762c63777b95590a83962 Mon Sep 17 00:00:00 2001 From: James Halliday Date: Mon, 13 May 2013 05:08:49 -0700 Subject: [PATCH] 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' ]); }); });