From 59f1211fbd913fa81703ef505d3e894b316f00f5 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Sat, 30 Mar 2024 08:01:09 +0100 Subject: [PATCH] lint fix --- gosmee/replay_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gosmee/replay_test.go b/gosmee/replay_test.go index bf8668a..7a61190 100644 --- a/gosmee/replay_test.go +++ b/gosmee/replay_test.go @@ -17,12 +17,12 @@ func TestChooseDeliveries(t *testing.T) { args args wantErr bool deliveryCount int - deliveryIDS []int64 + deliveryIDs []int64 }{ { name: "choose deliveries", deliveryCount: 2, - deliveryIDS: []int64{2, 3}, + deliveryIDs: []int64{2, 3}, args: args{ sinceTime: time.Now(), deliveries: []*github.HookDelivery{ @@ -50,8 +50,8 @@ func TestChooseDeliveries(t *testing.T) { t.Errorf("chooseDeliveries() = %v, want %v", len(ret), tt.deliveryCount) } for i, d := range ret { - if *d.ID != tt.deliveryIDS[i] { - t.Errorf("chooseDeliveries() = %v, want %v", *d.ID, tt.deliveryIDS[i]) + if *d.ID != tt.deliveryIDs[i] { + t.Errorf("chooseDeliveries() = %v, want %v", *d.ID, tt.deliveryIDs[i]) } } })