-
-
Save augensalat/2cd52987fd3ab85ddb10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Mojo::Base -strict; | |
# Disable IPv6 and libev | |
BEGIN { | |
$ENV{MOJO_REACTOR} = 'Mojo::Reactor::Poll'; | |
} | |
use Test::More; | |
use Mojolicious::Lite; | |
use Test::Mojo; | |
my $yatta = 'やった'; | |
get '/' => sub { | |
shift->render(data => $yatta); | |
}; | |
my $t = Test::Mojo->new; | |
$t->get_ok('/'); | |
done_testing; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment