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' ]); }); });