Skip to content

Commit

Permalink
Add tests for the 'deprecations' redirect (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Nov 12, 2024
1 parent 8b8081b commit b63f23a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/docs-redirects/specs/top-level-directories.hurl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ HTTP 301
[Asserts]
header "Location" == "https://localhost/3/c-api"

GET {{host}}/deprecations
HTTP 301
[Asserts]
header "Location" == "https://localhost/3/deprecations"

GET {{host}}/distutils
HTTP 301
[Asserts]
Expand Down Expand Up @@ -85,6 +90,11 @@ HTTP 301
[Asserts]
header "Location" == "https://localhost/3/c-api/spam"

GET {{host}}/deprecations/spam
HTTP 301
[Asserts]
header "Location" == "https://localhost/3/deprecations/spam"

GET {{host}}/distutils/spam
HTTP 301
[Asserts]
Expand Down

0 comments on commit b63f23a

Please sign in to comment.