Skip to content

Commit

Permalink
Fix test case for backslash in double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
grncdr authored and James Halliday committed Oct 18, 2013
1 parent 58a5e48 commit 89bc550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/op.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test('single operators', function (t) {
t.same(parse('echo zing &'), [ 'echo', 'zing', { op: '&' } ]);
t.same(parse('echo zing&'), [ 'echo', 'zing', { op: '&' } ]);
t.same(parse('echo zing\\&'), [ 'echo', 'zing&' ]);
t.same(parse('echo "zing\\&"'), [ 'echo', 'zing&' ]);
t.same(parse('echo "zing\\&"'), [ 'echo', 'zing\\&' ]);

t.same(parse('beep;boop'), [ 'beep', { op: ';' }, 'boop' ]);
t.same(parse('(beep;boop)'), [
Expand Down

0 comments on commit 89bc550

Please sign in to comment.