Skip to content

Commit

Permalink
more split_header tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 2, 2014
1 parent f6f52e3 commit 373d29a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/mojo/util.t
Expand Up @@ -67,8 +67,8 @@ is_deeply split_header('f "o" o , ba r'),
'right result';
is_deeply split_header('foo="b,; a\" r\"\\\\"'), [['foo', 'b,; a" r"\\']],
'right result';
is_deeply split_header('foo = "b a\" r\"\\\\"'), [['foo', 'b a" r"\\']],
'right result';
is_deeply split_header('foo = "b a\" r\"\\\\"; bar="ba z"'),
[['foo', 'b a" r"\\', 'bar', 'ba z']], 'right result';
my $header = q{</foo/bar>; rel="x"; t*=UTF-8'de'a%20b};
my $tree = [['</foo/bar>', undef, 'rel', 'x', 't*', 'UTF-8\'de\'a%20b']];
is_deeply split_header($header), $tree, 'right result';
Expand Down

0 comments on commit 373d29a

Please sign in to comment.