Skip to content

Commit

Permalink
Add failing tests for crazy quoting tricks
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 bafd640 commit 58a5e48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ test('parse shell commands', function (t) {
t.same(parse('a"b c d"e'), [ 'ab c de' ]);
t.same(parse('a\\ b"c d"\\ e f'), [ 'a bc d e', 'f' ]);
t.same(parse('a\\ b"c d"\\ e\'f g\' h'), [ 'a bc d ef g', 'h' ]);
t.same(parse("x \"bl'a\"'h'"), ['x', "bl'ah"])
t.same(parse("x 'a'*"), ['x', 'a*'])

t.end();
});

0 comments on commit 58a5e48

Please sign in to comment.