Skip to content

Commit 21975f5

Browse files
committed
fix test for go 1.25
1 parent 5c407b6 commit 21975f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code.cloudfoundry.org/gorouter/router/router_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2023,7 +2023,7 @@ var _ = Describe("Router", func() {
20232023

20242024
client := http.Client{Transport: tr}
20252025
resp, err := client.Do(req)
2026-
Expect(err).To(MatchError(ContainSubstring("remote error: tls: bad certificate")))
2026+
Expect(err).To(MatchError(ContainSubstring("remote error: tls: handshake failure")))
20272027
Expect(resp).To(BeNil())
20282028
})
20292029
})

0 commit comments

Comments
 (0)