assertSame($exp, URL::normalize($in)); } public function provideNormalizations() { return [ ["/", "/"], ["//example.com/", "//example.com/"], ["http://example.com/", "http://example.com/"], ["http://[::1]/", "http://[::1]/"], ["HTTP://example.com/", "http://example.com/"], ]; } }