formatting
This commit is contained in:
parent
4c54509c7d
commit
c9ae461e0e
@ -75,7 +75,7 @@ func TestFlow_Consume(t *testing.T) {
|
|||||||
// 12 header, 8 timestamp, 4 MAC
|
// 12 header, 8 timestamp, 4 MAC
|
||||||
require.Equal(t, len(testContent)+12+4+4, n)
|
require.Equal(t, len(testContent)+12+4+4, n)
|
||||||
|
|
||||||
macs := string(buf[n-8:n])
|
macs := string(buf[n-8 : n])
|
||||||
assert.Equal(t, "abcdefgh", macs)
|
assert.Equal(t, "abcdefgh", macs)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user