Skip to content

Commit 24b9679

Browse files
committed
fix: remove existing dereferencing copies
Signed-off-by: Mike Nguyen <[email protected]>
1 parent 4b91caf commit 24b9679

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

actor/state/actor_state_change_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ func TestNewActorStateChange(t *testing.T) {
4646
},
4747
}
4848
for name, test := range tests {
49-
test := test
5049
t.Run(name, func(t *testing.T) {
5150
assert.Equal(t, test.want, NewActorStateChange(test.stateName, test.value, test.changeKind, &test.ttl))
5251
})

service/internal/topicregistrar_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ func TestTopicRegistrarValidation(t *testing.T) {
6363
},
6464
}
6565
for name, tt := range tests {
66-
tt := tt // dereference loop var
6766
t.Run(name, func(t *testing.T) {
6867
m := internal.TopicRegistrar{}
6968
if tt.err != "" {

0 commit comments

Comments
 (0)