diff --git a/.sage/go.mod b/.sage/go.mod index 17f02c9..3780cb3 100644 --- a/.sage/go.mod +++ b/.sage/go.mod @@ -2,4 +2,4 @@ module sage go 1.17 -require go.einride.tech/sage v0.328.0 +require go.einride.tech/sage v0.332.0 diff --git a/.sage/go.sum b/.sage/go.sum index 1522acd..cd5f7c4 100644 --- a/.sage/go.sum +++ b/.sage/go.sum @@ -1,2 +1,2 @@ -go.einride.tech/sage v0.328.0 h1:72XhWkfj8HWIQGeZVu5IfRiBngEycn+D8lCGSl5aAk0= -go.einride.tech/sage v0.328.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= +go.einride.tech/sage v0.332.0 h1:+qTZm4KTCa+8q7Hv6/lQ8pL0e9F8JeyF4SC43jd0M1k= +go.einride.tech/sage v0.332.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= diff --git a/bpf_test.go b/bpf_test.go index a7739ac..714cc82 100644 --- a/bpf_test.go +++ b/bpf_test.go @@ -83,7 +83,6 @@ func TestShortMessageChannelFilter(t *testing.T) { expected: 0, }, } { - tt := tt t.Run(tt.name, func(t *testing.T) { vm, err := bpf.NewVM(tt.program) assert.NilError(t, err) diff --git a/lcm_test.go b/lcm_test.go index 13674e6..1118e36 100644 --- a/lcm_test.go +++ b/lcm_test.go @@ -231,7 +231,6 @@ func TestLCM_OneTransmitter_OneReceiver_ManyCompressed(t *testing.T) { assert.NilError(t, tx.Close()) }() for i := 100; i < 110; i++ { - i := i t.Run("receive first", func(t *testing.T) { // when the receiver receives var g errgroup.Group diff --git a/message_test.go b/message_test.go index f8fe067..28d82c7 100644 --- a/message_test.go +++ b/message_test.go @@ -55,7 +55,6 @@ func TestMessage_MarshalUnmarshal(t *testing.T) { }, }, } { - tt := tt t.Run(tt.msg, func(t *testing.T) { t.Run("marshal", func(t *testing.T) { var data [lengthOfLargestUDPMessage]byte @@ -106,7 +105,6 @@ func TestMessage_Unmarshal_Errors(t *testing.T) { err: "wrong header magic: 0xdeadbeef", }, } { - tt := tt t.Run(tt.msg, func(t *testing.T) { var msg Message err := msg.unmarshal(tt.data)