Skip to content

Commit

Permalink
Add additional testcase for uriresolver (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahummeling committed Sep 26, 2021
1 parent a613efc commit 3b893f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/UriResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
// falsey relative parts
[self::RFC3986_BASE, '//0', 'http://0'],
[self::RFC3986_BASE, '0', 'http://a/b/c/0'],
Expand Down

0 comments on commit 3b893f7

Please sign in to comment.