Skip to content

Commit

Permalink
Update test project dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jnm2 committed Sep 29, 2023
1 parent cf14cf1 commit e146fab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/AmbientTasks.Tests/AmbientTasks.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AltCover" Version="7.3.806" />
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" PrivateAssets="all" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="Shouldly" Version="3.0.2" />
<PackageReference Include="AltCover" Version="8.6.68" />
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Shouldly" Version="4.2.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/AmbientTasks.Tests/AmbientTasksPostTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public static void Subsequent_invocations_by_SynchronizationContext_are_ignored_
}

callCount.ShouldBe(0);
Should.Throw<Exception>(postedAction);
Should.Throw<Exception>(postedAction!);
callCount.ShouldBe(1);

postedAction.ShouldNotBeNull();
Expand Down
2 changes: 1 addition & 1 deletion src/AmbientTasks.Tests/RequireOnAllTestMethodsAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void BeforeTest(ITest test)
{
var missingTypes = attributeTypes
.Except(
from data in test.Method.MethodInfo.GetCustomAttributesData()
from data in test.Method!.MethodInfo.GetCustomAttributesData()
select data.AttributeType)
.ToList();

Expand Down

0 comments on commit e146fab

Please sign in to comment.