chore: update output format in golangci-lint config and improve response handling in tests

This commit is contained in:
ProtoTess
2025-12-01 01:16:01 +00:00
parent 24b3b1d1c9
commit c085aaa545
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -9,4 +9,5 @@ run:
timeout: 5m
output:
format: colored-line-number
formats:
- colored-line-number
+1 -1
View File
@@ -177,7 +177,7 @@ func newMockDeviceCertificatesServer() *httptest.Server {
</SOAP-ENV:Envelope>`
}
w.Write([]byte(response))
_, _ = w.Write([]byte(response))
}))
}
+1 -1
View File
@@ -144,7 +144,7 @@ func newMockDeviceWiFiServer() *httptest.Server {
</SOAP-ENV:Envelope>`
}
w.Write([]byte(response))
_, _ = w.Write([]byte(response))
}))
}