Skip to content

Commit

Permalink
Merge pull request #7 from Techsola/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
jnm2 authored Sep 29, 2023
2 parents 47e4f10 + e146fab commit a964197
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/AmbientTasks.Tests/AmbientTasks.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1;net5.0;net472</TargetFrameworks>
<TargetFrameworks>net6.0;net472</TargetFrameworks>
<RootNamespace>Techsola</RootNamespace>
</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
1 change: 0 additions & 1 deletion src/AmbientTasks/AmbientTasks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

<ItemGroup>
<PackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="all" />
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha" PrivateAssets="all" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<PackageReference Include="TunnelVisionLabs.ReferenceAssemblyAnnotator" Version="1.0.0-alpha.160" PrivateAssets="all" />
<PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[5.0.0]" />
<PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[6.0.0]" />
</ItemGroup>

</Project>

0 comments on commit a964197

Please sign in to comment.