diff options
Diffstat (limited to 'https/tls_config_test.go')
-rw-r--r-- | https/tls_config_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/https/tls_config_test.go b/https/tls_config_test.go index 717f201..4b1b4e0 100644 --- a/https/tls_config_test.go +++ b/https/tls_config_test.go | |||
@@ -213,13 +213,13 @@ func TestConfigReloading(t *testing.T) { | |||
213 | 213 | ||
214 | err := TestClientConnection() | 214 | err := TestClientConnection() |
215 | if err == nil { | 215 | if err == nil { |
216 | recordConnectionError(errors.New("Connection accepted but should have failed.")) | 216 | recordConnectionError(errors.New("connection accepted but should have failed")) |
217 | } else { | 217 | } else { |
218 | swapFileContents(goodYAMLPath, badYAMLPath) | 218 | swapFileContents(goodYAMLPath, badYAMLPath) |
219 | defer swapFileContents(goodYAMLPath, badYAMLPath) | 219 | defer swapFileContents(goodYAMLPath, badYAMLPath) |
220 | err = TestClientConnection() | 220 | err = TestClientConnection() |
221 | if err != nil { | 221 | if err != nil { |
222 | recordConnectionError(errors.New("Connection failed but should have been accepted.")) | 222 | recordConnectionError(errors.New("connection failed but should have been accepted")) |
223 | } else { | 223 | } else { |
224 | 224 | ||
225 | recordConnectionError(nil) | 225 | recordConnectionError(nil) |