Skip to content

Commit cd57719

Browse files
committed
Tests: style.
1 parent 5f0af3c commit cd57719

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Test/Nginx/IMAP.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ sub getline {
6666
}
6767

6868
while (IO::Select->new($socket)->can_read(8)) {
69-
$socket->blocking(0);
69+
$socket->blocking(0);
7070
my $n = $socket->sysread(my $buf, 1024);
71-
$socket->blocking(1);
71+
$socket->blocking(1);
7272
last unless $n;
7373

7474
$self->{_read_buffer} .= $buf;

lib/Test/Nginx/Stream.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ sub read {
8686
$s->blocking(0);
8787
if (IO::Select->new($s)->can_read($extra{read_timeout} || 8)) {
8888
$s->sysread($buf, 1024);
89-
};
89+
}
9090

9191
log_in($buf);
9292
return $buf;

0 commit comments

Comments
 (0)