[nginx-tests] Tests: fixed map prerequisite in tests.

Maxim Dounin mdounin at mdounin.ru
Sun Aug 2 20:07:54 UTC 2026


details:   http://freenginx.org/hg/nginx-tests/rev/1eb66a18000a
branches:  
changeset: 2083:1eb66a18000a
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Sun Aug 02 20:51:36 2026 +0300
description:
Tests: fixed map prerequisite in tests.

diffstat:

 grpc_headers.t |  2 +-
 rewrite.t      |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff --git a/grpc_headers.t b/grpc_headers.t
--- a/grpc_headers.t
+++ b/grpc_headers.t
@@ -23,7 +23,7 @@ select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
 my $t = Test::Nginx->new()
-	->has(qw/http http_v2 grpc rewrite/)->plan(7)
+	->has(qw/http http_v2 grpc rewrite map/)->plan(7)
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%
diff --git a/rewrite.t b/rewrite.t
--- a/rewrite.t
+++ b/rewrite.t
@@ -21,7 +21,7 @@ use Test::Nginx;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->has(qw/http rewrite proxy/)->plan(27)
+my $t = Test::Nginx->new()->has(qw/http rewrite map proxy/)->plan(27)
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%


More information about the nginx-devel mailing list