Lil clean-up again

This commit is contained in:
swag 2022-09-21 00:27:16 -04:00
parent ad00f26824
commit 846eaac58d
4 changed files with 18 additions and 17 deletions

View File

@ -9,6 +9,7 @@ use Test::Mojo;
my $script = curfile->dirname->sibling('PostText.pl'); my $script = curfile->dirname->sibling('PostText.pl');
my $t = Test::Mojo->new($script); my $t = Test::Mojo->new($script);
$t->get_ok('/thread/1')->status_is(200)->text_like(h2 => qr/Thread #1/); $t->get_ok('/thread/1' )->status_is(200)->text_like(h2 => qr/Thread #1/);
$t->get_ok('/thread/1/1')->status_is(200)->text_like(h2 => qr/Thread #1/);
done_testing(); done_testing();