Skip to content

Commit

Permalink
Formatted with perltidy
Browse files Browse the repository at this point in the history
  • Loading branch information
rage311 committed Oct 30, 2020
1 parent 6506f83 commit b305ccb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions t/test/mojo.t
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,16 @@ subtest 'content_type_isnt' => sub {

subtest 'content_type_like' => sub {
$t->content_type_like(qr/text\/html;charset=UTF-8/);
is_deeply \@args,
['like', 'text/html;charset=UTF-8', qr/text\/html;charset=UTF-8/, 'Content-Type is similar'],
is_deeply \@args, ['like', 'text/html;charset=UTF-8', qr/text\/html;charset=UTF-8/, 'Content-Type is similar'],
'right result';
$t->content_type_like(qr/text\/html;charset=UTF-8/, 'some description');
is_deeply \@args,
['like', 'text/html;charset=UTF-8', qr/text\/html;charset=UTF-8/, 'some description'],
is_deeply \@args, ['like', 'text/html;charset=UTF-8', qr/text\/html;charset=UTF-8/, 'some description'],
'right result';
};

subtest 'content_type_unlike' => sub {
$t->content_type_unlike(qr/image\/png/);
is_deeply \@args,
['unlike', 'text/html;charset=UTF-8', qr/image\/png/, 'Content-Type is not similar'],
is_deeply \@args, ['unlike', 'text/html;charset=UTF-8', qr/image\/png/, 'Content-Type is not similar'],
'right result';
$t->content_type_unlike(qr/image\/png/, 'some description');
is_deeply \@args, ['unlike', 'text/html;charset=UTF-8', qr/image\/png/, 'some description'], 'right result';
Expand Down

0 comments on commit b305ccb

Please sign in to comment.