Skip to content

Commit 8a76ef3

Browse files
committed
remove test made redundant in Go 1.26.1 by golang/go#77578
1 parent 6537274 commit 8a76ef3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

internal/endpointaddr/endpointaddr_test.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

44
package 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)

0 commit comments

Comments
 (0)