From c9ae461e0e784b55555df71022dcb82a11db0da6 Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Thu, 13 May 2021 22:26:17 +0100 Subject: [PATCH] formatting --- udp/flow_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udp/flow_test.go b/udp/flow_test.go index ee242f0..2aa9b41 100644 --- a/udp/flow_test.go +++ b/udp/flow_test.go @@ -75,7 +75,7 @@ func TestFlow_Consume(t *testing.T) { // 12 header, 8 timestamp, 4 MAC 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) }) }