Update fuzz tests

This commit is contained in:
9seconds
2026-02-24 15:27:19 +01:00
parent 5b91edf5c4
commit bb320e9d89
2 changed files with 11 additions and 12 deletions
@@ -28,6 +28,13 @@ func FuzzGenerateHandshakeFrame(f *testing.F) {
frame.data[4]|frame.data[5]|frame.data[6]|frame.data[7])
assert.Equal(t, hfConnectionType[:], frame.connectionType())
if arg < 0 {
arg = -arg
} else if arg == 0 {
arg = defaultDC
}
assert.EqualValues(t, arg, frame.dc())
})
}