Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chmouel committed Mar 30, 2024
1 parent 5086702 commit 59f1211
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gosmee/replay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down Expand Up @@ -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])
}
}
})
Expand Down

0 comments on commit 59f1211

Please sign in to comment.