Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeadi committed Nov 29, 2024
1 parent 21e83e9 commit 4b84cbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ActivityTests/UpdateActivityTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public async Task TestBatchUpdateToTargets()
new UpdateToTargetsRequest

Check warning on line 192 in tests/ActivityTests/UpdateActivityTests.cs

View workflow job for this annotation

GitHub Actions / Run tests

Use trailing comma in multi-line initializers
{
Id = insertedAct.Id,
Adds = new List<string> { add }
Adds = new List<string> { add },
}
};
var updateResp = await this.UserFeed.BatchUpdateActivityToTargetsAsync(updateReqs);
Expand All @@ -214,7 +214,7 @@ public async Task TestBatchUpdateToTargets()
new UpdateToTargetsRequest

Check warning on line 214 in tests/ActivityTests/UpdateActivityTests.cs

View workflow job for this annotation

GitHub Actions / Run tests

Use trailing comma in multi-line initializers
{
Id = insertedAct.Id,
RemovedTargets = new List<string> { remove }
RemovedTargets = new List<string> { remove },
}
};
updateResp = await this.UserFeed.BatchUpdateActivityToTargetsAsync(updateReqs);
Expand All @@ -240,7 +240,7 @@ public async Task TestBatchUpdateToTargets()
new UpdateToTargetsRequest
{
Id = insertedAct.Id,
NewTargets = newOnes
NewTargets = newOnes,
}
};
updateResp = await this.UserFeed.BatchUpdateActivityToTargetsAsync(updateReqs);
Expand Down

0 comments on commit 4b84cbd

Please sign in to comment.