Skip to content

Commit 9a22aae

Browse files
committed
style(test): reindex trusted-addresses.t
The three cases were ported from the EE branch, where this file has two blocks fewer, so they arrived numbered 17-19 in a file whose last existing block is 18. `utils/reindex`, which CI runs over every `.t` file, renumbers by position and would have failed the lint job. Content is unchanged.
1 parent 8a5dd6a commit 9a22aae

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎t/core/trusted-addresses.t‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ x-real-ip: 127.0.0.1
710710
711711
712712
713-
=== TEST 17: a request carrying no X-Forwarded-* still gets them in r->headers_in
713+
=== TEST 19: a request carrying no X-Forwarded-* still gets them in r->headers_in
714714
--- yaml_config
715715
apisix:
716716
node_listen: 1984
@@ -741,7 +741,7 @@ header-table xfp=http xfh=localhost xfport=1984
741741
742742
743743
744-
=== TEST 18: a route matching on http_x_forwarded_proto still matches without one
744+
=== TEST 20: a route matching on http_x_forwarded_proto still matches without one
745745
--- yaml_config
746746
apisix:
747747
node_listen: 1984
@@ -776,7 +776,7 @@ x-real-ip: 127.0.0.1
776776
777777
778778
779-
=== TEST 19: the injected headers are single-valued, including through an ngx.exec target
779+
=== TEST 21: the injected headers are single-valued, including through an ngx.exec target
780780
--- yaml_config
781781
apisix:
782782
node_listen: 1984

0 commit comments

Comments
 (0)