mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-04-04 22:34:22 +02:00
Fix expected error messages (#1269)
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
This commit is contained in:
parent
0b4bc36554
commit
a35db2ae8a
@ -140,7 +140,7 @@ var _ = Describe("Server", func() {
|
||||
Handler: handler,
|
||||
BindAddress: "127.0.0.1:a",
|
||||
},
|
||||
expectedErr: errors.New("error setting up listener: listen (tcp, 127.0.0.1:a) failed: listen tcp: lookup tcp/a: "),
|
||||
expectedErr: errors.New("error setting up listener: listen (tcp, 127.0.0.1:a) failed: listen tcp: "),
|
||||
expectHTTPListener: false,
|
||||
expectTLSListener: false,
|
||||
}),
|
||||
@ -153,7 +153,7 @@ var _ = Describe("Server", func() {
|
||||
Cert: &certDataSource,
|
||||
},
|
||||
},
|
||||
expectedErr: errors.New("error setting up TLS listener: listen (127.0.0.1:a) failed: listen tcp: lookup tcp/a: "),
|
||||
expectedErr: errors.New("error setting up TLS listener: listen (127.0.0.1:a) failed: listen tcp: "),
|
||||
expectHTTPListener: false,
|
||||
expectTLSListener: false,
|
||||
}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user