mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-26 09:33:02 +01:00
fix(lint): fixing go static check failing.
This commit is contained in:
@@ -775,11 +775,8 @@ func TestChecksumValidation(t *testing.T) {
|
||||
}
|
||||
|
||||
// Verify checksum can be calculated
|
||||
if len(tt.data) > 0 {
|
||||
if checksum == 0xFF && len(tt.data) == 4 && tt.data[0] == 0xFF {
|
||||
// Expected for all 0xFF data
|
||||
}
|
||||
}
|
||||
_ = (len(tt.data) > 0 && checksum == 0xFF && len(tt.data) == 4 && tt.data[0] == 0xFF)
|
||||
// Expected for all 0xFF data
|
||||
|
||||
// If original passes checksum, verify it's consistent
|
||||
checksum2 := byte(0)
|
||||
|
||||
Reference in New Issue
Block a user