changeset 1451:9d579fc770a6

Tests: style.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 22 Mar 2019 15:31:10 +0300
parents 5f53a1d6b83c
children eda1878cf015
files config_dump.t http_host.t js_request_body.t proxy_redirect.t sub_filter_buffering.t
diffstat 5 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config_dump.t
+++ b/config_dump.t
@@ -108,3 +108,5 @@ sub getconf {
 	$s =~ tr/\r//d;
 	return $s;
 }
+
+###############################################################################
--- a/http_host.t
+++ b/http_host.t
@@ -52,7 +52,6 @@ EOF
 
 ###############################################################################
 
-
 is(http_host_header('www.abcd-ef.g02.xyz'), 'www.abcd-ef.g02.xyz',
 	'domain w/o port (host header)');
 is(http_host_header('abcd-ef.g02.xyz:' . port(8080)), 'abcd-ef.g02.xyz',
@@ -191,3 +190,5 @@ Host: localhost
 EOF
 	return ($all ? $r : Test::Nginx::http_content($r));
 }
+
+###############################################################################
--- a/js_request_body.t
+++ b/js_request_body.t
@@ -116,3 +116,5 @@ sub http_post_big {
 
 	return http($p, %extra);
 }
+
+###############################################################################
--- a/proxy_redirect.t
+++ b/proxy_redirect.t
@@ -149,3 +149,5 @@ sub http_get_refresh {
 	http_get($url) =~ /^Refresh:\s(.+?)\x0d?$/mi;
 	return $1;
 }
+
+###############################################################################
--- a/sub_filter_buffering.t
+++ b/sub_filter_buffering.t
@@ -99,3 +99,5 @@ sub http_daemon {
 			"xyz";
 	}
 }
+
+###############################################################################