mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 19:39:40 +00:00
prog: format checksum_test.go
This commit is contained in:
parent
f3bb6d96be
commit
d875900eb8
@ -154,7 +154,7 @@ func TestChecksumTCPCalc(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("failed to deserialize prog %v: %v", test.prog, err)
|
||||
}
|
||||
csumMap := calcChecksumsCall(p.Calls[0], i % 32)
|
||||
csumMap := calcChecksumsCall(p.Calls[0], i%32)
|
||||
for oldField, newField := range csumMap {
|
||||
if typ, ok := newField.Type.(*sys.CsumType); ok {
|
||||
if typ.Kind == sys.CsumTCP {
|
||||
|
Loading…
Reference in New Issue
Block a user