Skip to content

Commit

Permalink
test tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 19, 2013
1 parent 565d075 commit bd4c6d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Changes
@@ -1,6 +1,6 @@

4.01 2013-05-18
- Fixed small drain event bug in Mojo::IOLoop::Stream.
4.01 2013-05-19
- Fixed small drain event bug in Mojo::IOLoop::Stream. (ChinaXing)

4.0 2013-05-15
- Code name "Top Hat", this is a major release.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Server/Daemon.pm
Expand Up @@ -255,7 +255,7 @@ sub _write {
return unless $c->{tx};
}
}
$stream->write('', $cb);
$stream->write('' => $cb);
}

1;
Expand Down
4 changes: 2 additions & 2 deletions t/mojo/response.t
Expand Up @@ -880,7 +880,7 @@ my $body = 'I is here';
$res->headers->content_length(length($body));
my $cb;
$cb = sub { shift->write(substr($body, pop, 1), $cb) };
$res->content->write('', $cb);
$res->content->write('' => $cb);
my $full = '';
my $count = 0;
my $offset = 0;
Expand All @@ -901,7 +901,7 @@ is $full, $body, 'right content';
$res = Mojo::Message::Response->new;
$body = 'I is here';
$cb = sub { shift->write(substr($body, pop, 1), $cb) };
$res->content->write('', $cb);
$res->content->write('' => $cb);
$res->fix_headers;
$full = '';
$count = 0;
Expand Down

0 comments on commit bd4c6d5

Please sign in to comment.