Navigation Menu

Skip to content

Commit

Permalink
fixed small bug in embedding recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 8, 2012
1 parent 2f71fc2 commit 4b9a26d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -246,7 +246,7 @@ with this little mock server you can just embed them.
# Access fully initialized application
say $app->static->root;
say $app->config->{secret_identity};
say $app->dumper(just => 'a helper test');
say $app->dumper({just => 'a helper test'});

=head2 Web server embedding

Expand Down
4 changes: 2 additions & 2 deletions t/mojo/content.t
Expand Up @@ -52,7 +52,7 @@ is $content->build_body,

# Tainted environment
$content = Mojo::Content::MultiPart->new;
"a" =~ /(.)/;
'a' =~ /(.)/;
ok !$content->charset, 'no charset';
"a" =~ /(.)/;
'a' =~ /(.)/;
ok !$content->boundary, 'no boundary';

0 comments on commit 4b9a26d

Please sign in to comment.