Skip to content

test: disable-redirects integration#111

Merged
11eshaannegi merged 1 commit into
mainfrom
test/integration-disable-redirects
Mar 30, 2026
Merged

test: disable-redirects integration#111
11eshaannegi merged 1 commit into
mainfrom
test/integration-disable-redirects

Conversation

@11eshaannegi
Copy link
Copy Markdown
Contributor

Summary

Adds an integration test for the --disable-redirects flag.

Changes

  • Added end-to-end test in cmd/run_integration_test.go
  • Uses httptest server with:
    • /redirect → returns 302
    • /target → returns 200

Behavior Verified

  • With --disable-redirects: does NOT follow redirect (captures 302)
  • Default behavior: follows redirect (captures 200)

#109 (comment)

@11eshaannegi 11eshaannegi merged commit 6334090 into main Mar 30, 2026
5 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

🎉 This PR is included in version 1.13.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants