We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c39736 commit d368c62Copy full SHA for d368c62
src/UriIntegrationTest.php
@@ -226,4 +226,14 @@ public function testUriModification2()
226
$this->assertInstanceOf(UriInterface::class, $uri);
227
$this->assertSame($expected, (string) $uri);
228
}
229
+
230
+ public function testPathWithMultipleSlashes()
231
+ {
232
+ $expected = 'http://example.org//valid///path';
233
+ $uri = $this->createUri($expected);
234
235
+ $this->assertInstanceOf(UriInterface::class, $uri);
236
+ $this->assertSame($expected, (string) $uri);
237
+ $this->assertSame('//valid///path', $uri->getPath());
238
+ }
239
0 commit comments