Skip to content

Commit

Permalink
fixed a failing env test
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Apr 15, 2013
1 parent 590534a commit 17d1fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' ]);
Expand Down

0 comments on commit 17d1fda

Please sign in to comment.