Skip to content

Commit 1819b5c

Browse files
authored
bump: xunit-2.6.1 (#72)
1 parent 6f42fdb commit 1819b5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Pomelo.Extensions.Caching.MySql.Tests/MySqlCacheWithDatabaseTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,10 +742,10 @@ public async Task IsDuplicateKeyException()
742742
SlidingExpirationInSeconds = TimeSpan.FromSeconds(10)
743743
};
744744

745-
var exception = await Assert.ThrowsAsync<MySqlException>((Func<ValueTask>)(async () =>
745+
var exception = await Assert.ThrowsAsync<MySqlException>(async () =>
746746
{
747747
await SetCacheItemFromDatabaseAsync(key, value);
748-
}));
748+
});
749749
Assert.NotNull(exception);
750750
Assert.Equal(1062, exception.Number);
751751

0 commit comments

Comments
 (0)