Skip to content

Commit b63f23a

Browse files
authored
Add tests for the 'deprecations' redirect (#526)
1 parent 8b8081b commit b63f23a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/docs-redirects/specs/top-level-directories.hurl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ HTTP 301
1010
[Asserts]
1111
header "Location" == "https://localhost/3/c-api"
1212

13+
GET {{host}}/deprecations
14+
HTTP 301
15+
[Asserts]
16+
header "Location" == "https://localhost/3/deprecations"
17+
1318
GET {{host}}/distutils
1419
HTTP 301
1520
[Asserts]
@@ -85,6 +90,11 @@ HTTP 301
8590
[Asserts]
8691
header "Location" == "https://localhost/3/c-api/spam"
8792

93+
GET {{host}}/deprecations/spam
94+
HTTP 301
95+
[Asserts]
96+
header "Location" == "https://localhost/3/deprecations/spam"
97+
8898
GET {{host}}/distutils/spam
8999
HTTP 301
90100
[Asserts]

0 commit comments

Comments
 (0)