Skip to content

Commit

Permalink
another parse_header test
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jun 1, 2013
1 parent 0bff603 commit 03a1f9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/mojo/util.t
Expand Up @@ -62,6 +62,8 @@ is get_line(\$buffer), undef, 'no line';
is_deeply parse_header(''), [], 'right result';
is_deeply parse_header('foo,bar,baz'), [[['foo']], [['bar']], [['baz']]],
'right result';
is_deeply parse_header('f "o" o , ba r'), [[['f "o" o']], [['ba r']]],
'right result';
is_deeply parse_header('foo="b a\" r\"\\\\"'), [[['foo', 'b a" r"\\']]],
'right result';
is_deeply parse_header('foo = "b a\" r\"\\\\"'), [[['foo', 'b a" r"\\']]],
Expand Down

0 comments on commit 03a1f9c

Please sign in to comment.