Skip to content

Commit

Permalink
Merge pull request #1681 from markogrady1/convert-json_config_mode_li…
Browse files Browse the repository at this point in the history
…te_app-to-use-subtests

convert t/mojolicious/json_config_mode_lite_app.t to use subtests
  • Loading branch information
mergify[bot] authored Feb 13, 2021
2 parents 73f6fda + abea2b4 commit 536ad9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions t/mojolicious/json_config_mode_lite_app.t
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ get '/' => 'index';

my $t = Test::Mojo->new;

# Template with config information
$t->get_ok('/')->status_is(200)->content_like(qr/bazfoo/);
subtest 'Template with config information' => sub {
$t->get_ok('/')->status_is(200)->content_like(qr/bazfoo/);
};

done_testing();

Expand Down

0 comments on commit 536ad9f

Please sign in to comment.