changeset 902:3b90649691cc

Tests: removed unused subroutine in h2_headers.
author Andrey Zelenkov <zelenkov@nginx.com>
date Tue, 19 Apr 2016 13:06:52 +0300
parents 25bf03642a45
children 29aa547dd963
files h2_headers.t
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/h2_headers.t
+++ b/h2_headers.t
@@ -1009,17 +1009,6 @@ is($frame->{code}, 1, 'invalid path');
 
 ###############################################################################
 
-sub read_body_file {
-	my ($path) = @_;
-	open FILE, $path or return "$!";
-	local $/;
-	my $content = <FILE>;
-	close FILE;
-	return $content;
-}
-
-###############################################################################
-
 sub http_daemon {
 	my $server = IO::Socket::INET->new(
 		Proto => 'tcp',