diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props
index 53153f91..d0b0f2b5 100644
--- a/src/Directory.Packages.props
+++ b/src/Directory.Packages.props
@@ -24,7 +24,7 @@
-
+
diff --git a/src/Snapx.Tests/Core/DistributedMutexTests.cs b/src/Snapx.Tests/Core/DistributedMutexTests.cs
index 25f8f6c2..fc82c0f2 100644
--- a/src/Snapx.Tests/Core/DistributedMutexTests.cs
+++ b/src/Snapx.Tests/Core/DistributedMutexTests.cs
@@ -8,7 +8,7 @@
namespace Snapx.Tests.Core;
-public class DistributedMutexTests
+public sealed class DistributedMutexTests
{
[Fact]
public async Task TestAcquireAsync()
@@ -52,7 +52,7 @@ public async Task TestAcquireAsync_ReturnsInvalidChallengeValue()
await using var distributedMutex = new DistributedMutex(distributedMutexClientMock.Object, new LogProvider.NoOpLogger(), mutexName, CancellationToken.None);
- var ex = await Assert.ThrowsAsync(async () => await distributedMutex.TryAquireAsync());
+ var ex = await Assert.ThrowsAsync(() => distributedMutex.TryAquireAsync());
Assert.Equal($"Challenge should not be null or empty. Mutex: {mutexName}. Challenge: {expectedChallenge}", ex.Message);
Assert.False(distributedMutex.Acquired);
@@ -198,4 +198,4 @@ public async Task TestDisposeAsync_Mutex_Is_Not_Acquired()
distributedMutexClientMock.Verify(x => x
.ReleaseLockAsync(It.IsAny(), It.IsAny(), It.IsAny()), Times.Never);
}
-}
\ No newline at end of file
+}