Skip to content

Commit

Permalink
updated set env test, already passes
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Jun 24, 2013
1 parent f44b039 commit 7d5636b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/set.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ var parse = require('../').parse;
test('set env vars', function (t) {
t.same(
parse('ABC=444 x y z'),
[ { key: 'X', value: '444' }, 'x', 'y', 'z' ]
[ 'ABC=444', 'x', 'y', 'z' ]
);
t.same(
parse('ABC=3\\ 4\\ 5 x y z'),
[ { key: 'X', value: '3 4 5' }, 'x', 'y', 'z' ]
[ 'ABC=3 4 5', 'x', 'y', 'z' ]
);
t.same(
parse('X="7 8 9" printx'),
[ { key: 'X', value: '7 8 9' }, 'printx' ]
[ 'X=7 8 9', 'printx' ]
);

t.end();
Expand Down

0 comments on commit 7d5636b

Please sign in to comment.