Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional URL resolver test case #439

Merged
merged 1 commit into from
Sep 26, 2021

Conversation

Ahummeling
Copy link
Contributor

@Ahummeling Ahummeling commented Sep 6, 2021

This pull request adds a single additional testcase as described in the related issue.


Closes #433.

@Ahummeling Ahummeling changed the title add testcase for uriresolver Closes guzzle/psr7#433 Sep 6, 2021
@GrahamCampbell GrahamCampbell changed the title Closes guzzle/psr7#433 Add additional URL resolver test case Sep 6, 2021
@GrahamCampbell GrahamCampbell merged commit 3b893f7 into guzzle:master Sep 26, 2021
@@ -124,6 +124,8 @@ public function getResolveTestCases(): iterable
// path ending with slash or no slash at all
['http://a/b/c/d/', 'e', 'http://a/b/c/d/e'],
['urn:no-slash', 'e', 'urn:e'],
// path ending without slash and multi-segment relative part
['http://a/b/c', 'd/e', 'http://a/b/d/e'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a duplicate of the test in line 106. So we would not have needed this test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible bug in UriResolver::resovle
3 participants