Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6321a1a

Browse files
committed
Simplify single-line lambda
1 parent 049ed69 commit 6321a1a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎test/JsonApiDotNetCoreTests/IntegrationTests/Meta/TopLevelCountTests.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
8383
public async Task Renders_resource_count_for_empty_collection()
8484
{
8585
// Arrange
86-
await _testContext.RunOnDatabaseAsync(async dbContext =>
87-
{
88-
await dbContext.ClearTableAsync<SupportTicket>();
89-
});
86+
await _testContext.RunOnDatabaseAsync(async dbContext => await dbContext.ClearTableAsync<SupportTicket>());
9087

9188
const string route = "/supportTickets";
9289

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /