Skip to content

Commit

Permalink
perltidy can be a bit picky
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 17, 2015
1 parent 204cb1c commit b660963
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/DefaultHelpers.pm
Expand Up @@ -68,7 +68,7 @@ sub _content {
sub _csrf_token {
my $c = shift;
return $c->session->{csrf_token}
||= hmac_sha1_sum $$ . steady_time . rand 999, $c->app->secrets->[0];
||= hmac_sha1_sum($$ . steady_time . rand 999, $c->app->secrets->[0]);
}

sub _current_route {
Expand Down
4 changes: 2 additions & 2 deletions t/mojo/ioloop.t
Expand Up @@ -85,8 +85,8 @@ $loop->timer(0.5 => sub { shift->stop });
$loop->start;
$loop->one_tick;
$loop->remove($id);
ok $count > 1, 'more than one recurring event';
ok $count < 10, 'less than ten recurring events';
ok($count > 1, 'more than one recurring event');
ok($count < 10, 'less than ten recurring events');

# Handle and reset
my ($handle, $handle2);
Expand Down

0 comments on commit b660963

Please sign in to comment.