File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11run :
22 modules-download-mode : vendor
33
4+ linters :
5+ enable :
6+ - golint
7+
48issues :
59 exclude-rules :
610 - path : _test.go
Original file line number Diff line number Diff line change @@ -213,13 +213,13 @@ func TestConfigReloading(t *testing.T) {
213213
214214 err := TestClientConnection ()
215215 if err == nil {
216- recordConnectionError (errors .New ("Connection accepted but should have failed. " ))
216+ recordConnectionError (errors .New ("connection accepted but should have failed" ))
217217 } else {
218218 swapFileContents (goodYAMLPath , badYAMLPath )
219219 defer swapFileContents (goodYAMLPath , badYAMLPath )
220220 err = TestClientConnection ()
221221 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" ))
223223 } else {
224224
225225 recordConnectionError (nil )
You can’t perform that action at this time.
0 commit comments