File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 1- // Copyright 2021-2024 the Pinniped contributors. All Rights Reserved.
1+ // Copyright 2021-2026 the Pinniped contributors. All Rights Reserved.
22// SPDX-License-Identifier: Apache-2.0
33
44package endpointaddr
@@ -321,13 +321,6 @@ func TestParseFromURL(t *testing.T) {
321321 expect : HostPort {Host : "0:0:0:0:0:0:0:1" , Port : 443 },
322322 expectEndpoint : "[0:0:0:0:0:0:0:1]:443" ,
323323 },
324- {
325- name : "IPv6 with mismatched leading bracket will err on bracket" ,
326- input : "https://[[::1]/some/fake/path" ,
327- defaultPort : 443 ,
328- expect : HostPort {Host : "::1" , Port : 443 },
329- expectEndpoint : "[::1]:443" ,
330- },
331324 } {
332325 t .Run (tt .name , func (t * testing.T ) {
333326 urlToProcess , err := url .Parse (tt .input )
You can’t perform that action at this time.
0 commit comments