diff --git a/tests/ExtendedThreading.UnitTests/ExtendedThreading.UnitTests.csproj b/tests/ExtendedThreading.UnitTests/ExtendedThreading.UnitTests.csproj index c1d850d..779503b 100644 --- a/tests/ExtendedThreading.UnitTests/ExtendedThreading.UnitTests.csproj +++ b/tests/ExtendedThreading.UnitTests/ExtendedThreading.UnitTests.csproj @@ -1,29 +1,29 @@ - - net8.0 - enable - enable - true - false - true - + + net8.0 + enable + enable + true + false + true + - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + - - - + + + diff --git a/tests/ExtendedThreading.UnitTests/MutexSlimTests.cs b/tests/ExtendedThreading.UnitTests/MutexSlimTests.cs index a9d69ce..d4bf0ea 100644 --- a/tests/ExtendedThreading.UnitTests/MutexSlimTests.cs +++ b/tests/ExtendedThreading.UnitTests/MutexSlimTests.cs @@ -9,7 +9,7 @@ public void Wait_NotTaken_Continues() using var mutex = new MutexSlim(); // Act - mutex.Wait(); + mutex.Wait(TestContext.Current.CancellationToken); // Assert Assert.True(true); // Just testing wait didn't block