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 3b0d828 commit 80d0bb0
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 @@ -123,19 +123,16 @@ subtest 'header_isnt' => sub {

subtest 'header_like' => sub {
$t->header_like('Content-Type', 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->header_like('Content-Type', 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 'header_unlike' => sub {
$t->header_unlike('Content-Type', 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->header_unlike('Content-Type', 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 80d0bb0

Please sign in to comment.