Skip to content

Commit 47e77c8

Browse files
committed
change: renamed test.html to test, to avoid github recognizes this project as a HTML project.
1 parent 696b789 commit 47e77c8

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

t/01-static.t

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ __DATA__
1313

1414
=== TEST 1: zstd_static off
1515
--- config
16-
location /test.html {
16+
location /test {
1717
zstd_static off;
1818
root ../../t/suite;
1919
}
2020
--- request
21-
GET /test.html
21+
GET /test
2222
--- response_headers
2323
Content-Length: 59738
2424
ETag: "5be17d33-e95a"
@@ -30,12 +30,12 @@ ETag: "5be17d33-e95a"
3030

3131
=== TEST 2: zstd_static off (with accept-encoding header)
3232
--- config
33-
location /test.html {
33+
location /test {
3434
zstd_static off;
3535
root ../../t/suite;
3636
}
3737
--- request
38-
GET /test.html
38+
GET /test
3939
Accept-Encoding: gzip,zstd
4040
--- response_headers
4141
Content-Length: 59738
@@ -48,12 +48,12 @@ ETag: "5be17d33-e95a"
4848

4949
=== TEST 3: zstd_static on
5050
--- config
51-
location /test.html {
51+
location /test {
5252
zstd_static on;
5353
root ../../t/suite;
5454
}
5555
--- request
56-
GET /test.html
56+
GET /test
5757
--- more_headers
5858
Accept-Encoding: gzip, zstd
5959
--- response_headers
@@ -68,12 +68,12 @@ Content-Encoding: zstd
6868

6969
=== TEST 4: zstd_static on (without accept-encoding header)
7070
--- config
71-
location /test.html {
71+
location /test {
7272
zstd_static on;
7373
root ../../t/suite;
7474
}
7575
--- request
76-
GET /test.html
76+
GET /test
7777
--- response_headers
7878
Content-Length: 59738
7979
ETag: "5be17d33-e95a"
@@ -86,12 +86,12 @@ Content-Encoding: zstd
8686

8787
=== TEST 5: zstd_static on (without zstd component in accept-encoding header)
8888
--- config
89-
location /test.html {
89+
location /test {
9090
zstd_static on;
9191
root ../../t/suite;
9292
}
9393
--- request
94-
GET /test.html
94+
GET /test
9595
--- more_headers
9696
Accept-Encoding: gzip, br
9797
--- response_headers
@@ -105,12 +105,12 @@ ETag: "5be17d33-e95a"
105105

106106
=== TEST 6: zstd_static always
107107
--- config
108-
location /test.html {
108+
location /test {
109109
zstd_static always;
110110
root ../../t/suite;
111111
}
112112
--- request
113-
GET /test.html
113+
GET /test
114114
--- more_headers
115115
Accept-Encoding: gzip, br
116116
--- response_headers
@@ -124,12 +124,12 @@ Content-Encoding: zstd
124124

125125
=== TEST 6: zstd_static always (without accept-encoding header)
126126
--- config
127-
location /test.html {
127+
location /test {
128128
zstd_static always;
129129
root ../../t/suite;
130130
}
131131
--- request
132-
GET /test.html
132+
GET /test
133133
--- response_headers
134134
Content-Length: 20706
135135
ETag: "5be17d33-50e2"
@@ -141,12 +141,12 @@ Content-Encoding: zstd
141141

142142
=== TEST 7: zstd_static always (without zstd component in accept-encoding header)
143143
--- config
144-
location /test.html {
144+
location /test {
145145
zstd_static always;
146146
root ../../t/suite;
147147
}
148148
--- request
149-
GET /test.html
149+
GET /test
150150
--- more_headers
151151
Accept-Encoding: gzip, br
152152
--- response_headers
@@ -159,12 +159,12 @@ Content-Encoding: zstd
159159

160160
=== TEST 8: zstd_static always (file does not exist)
161161
--- config
162-
location /test2.html {
162+
location /test2 {
163163
zstd_static always;
164164
root ../../t/suite;
165165
}
166166
--- request
167-
GET /test2.html
167+
GET /test2
168168
--- more_headers
169169
Accept-Encoding: gzip, br
170170
--- error_code: 404
@@ -173,12 +173,12 @@ Accept-Encoding: gzip, br
173173

174174
=== TEST 9: zstd_static on (file does not exist)
175175
--- config
176-
location /test2.html {
176+
location /test2 {
177177
zstd_static on;
178178
root ../../t/suite;
179179
}
180180
--- request
181-
GET /test2.html
181+
GET /test2
182182
--- more_headers
183183
Accept-Encoding: gzip, br
184184
--- error_code: 404
@@ -187,12 +187,12 @@ Accept-Encoding: gzip, br
187187

188188
=== TEST 10: zstd_static off (file does not exist)
189189
--- config
190-
location /test2.html {
190+
location /test2 {
191191
zstd_static off;
192192
root ../../t/suite;
193193
}
194194
--- request
195-
GET /test2.html
195+
GET /test2
196196
--- more_headers
197197
Accept-Encoding: gzip, br
198198
--- error_code: 404
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)