Skip to content

Commit 3ea9649

Browse files
committed
Tests: whitespace cleanup.
1 parent 0487da7 commit 3ea9649

11 files changed

+15
-15
lines changed

auth_basic.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ http {
5353
# prepended with conf_prefix
5454
auth_basic_user_file $arg_f;
5555
alias %%TESTDIR%%/;
56-
}
56+
}
5757
}
5858
}
5959
}

h2_error_page.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ my ($sid, $frames, $frame);
7272

7373
my $s1 = Test::Nginx::HTTP2->new();
7474
$sid = $s1->new_stream({ headers => [
75-
{ name => ':method', value => 'GET' },
76-
{ name => ':path', value => '/' },
77-
{ name => ':authority', value => 'localhost' }]});
75+
{ name => ':method', value => 'GET' },
76+
{ name => ':path', value => '/' },
77+
{ name => ':authority', value => 'localhost' }]});
7878
$frames = $s1->read(all => [{ type => 'RST_STREAM' }]);
7979

8080
($frame) = grep { $_->{type} eq "RST_STREAM" } @$frames;

h2_request_body_extra.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ like(http2_get_body_multi_nolen('/unbuf/', '0123456789' x 128),
223223
'body unbuf multi nolen in two buffers');
224224
like(http2_get_body_multi_nolen('/unbuf/', '0123456789' x 512),
225225
qr/(?!.*x-unbuf-file.*)x-body-file/ms,
226-
'body unbuf multi nolen in file');
226+
'body unbuf multi nolen in file');
227227
like(read_body_file(http2_get_body_multi_nolen('/unbuf/file',
228228
'0123456789' x 512)), qr/^(0123456789){512}$/s,
229229
'body unbuf multi nolen in file only');

h3_request_body_extra.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ like(http3_get_body_multi_nolen('/unbuf/', '0123456789' x 128),
243243
'body unbuf multi nolen in two buffers');
244244
like(http3_get_body_multi_nolen('/unbuf/', '0123456789' x 512),
245245
qr/(?!.*x-unbuf-file.*)x-body-file/ms,
246-
'body unbuf multi nolen in file');
246+
'body unbuf multi nolen in file');
247247
like(read_body_file(http3_get_body_multi_nolen('/unbuf/file',
248248
'0123456789' x 512)), qr/^(0123456789){512}$/s,
249249
'body unbuf multi nolen in file only');

mail_ssl.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ mail {
4545
4646
ssl_password_file password;
4747
48-
auth_http http://127.0.0.1:8080; # unused
48+
auth_http http://127.0.0.1:8080; # unused
4949
5050
server {
5151
listen 127.0.0.1:8143;

proxy_cache_manager.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ select STDOUT; $| = 1;
2525
plan(skip_all => 'long test') unless $ENV{TEST_NGINX_UNSAFE};
2626

2727
plan(skip_all => 'page size is not appropriate') unless
28-
POSIX::sysconf(&POSIX::_SC_PAGESIZE) == 4096;
28+
POSIX::sysconf(&POSIX::_SC_PAGESIZE) == 4096;
2929

3030
my $t = Test::Nginx->new()->has(qw/http proxy cache/)
3131
->write_file_expand('nginx.conf', <<'EOF');

scgi_extra_data.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ sub scgi_daemon {
142142
while (my $request = $scgi->accept()) {
143143
eval { $request->read_env(); };
144144
next if $@;
145-
145+
146146
$uri = $request->env->{REQUEST_URI};
147147
$uri =~ s!^/unbuf!!;
148148

slice.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ http {
114114
location / {
115115
if ($http_range = "") {
116116
set $limit_rate 100;
117-
}
117+
}
118118
}
119119
}
120120
}

ssl.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,9 @@ sub get_ssl_shutdown {
339339

340340
$s->blocking(0);
341341
while (IO::Select->new($s)->can_read(8)) {
342-
my $n = $s->sysread(my $buf, 16384);
343-
next if !defined $n && $!{EWOULDBLOCK};
344-
last;
342+
my $n = $s->sysread(my $buf, 16384);
343+
next if !defined $n && $!{EWOULDBLOCK};
344+
last;
345345
}
346346
$s->blocking(1);
347347

ssl_certificates.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ my $d = $t->testdir();
7575
system("openssl ecparam -genkey -out $d/ec.key -name prime256v1 "
7676
. ">>$d/openssl.out 2>&1") == 0 or die "Can't create EC pem: $!\n";
7777
system("openssl genrsa -out $d/rsa.key 2048 >>$d/openssl.out 2>&1") == 0
78-
or die "Can't create RSA pem: $!\n";
78+
or die "Can't create RSA pem: $!\n";
7979

8080
foreach my $name ('ec', 'rsa') {
8181
system("openssl req -x509 -new -key $d/$name.key "

0 commit comments

Comments
 (0)