ci: exclude default arm of Rune.Repeat from coverage

This commit is contained in:
Oliver Booth 2023-04-02 01:05:27 +01:00
parent 95cd3e8cbc
commit 58c333a173
No known key found for this signature in database
GPG Key ID: 20BEB9DC87961025
2 changed files with 15 additions and 1 deletions

View File

@ -89,7 +89,17 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\X10D.SourceGenerator\X10D.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
<ProjectReference Include="..\X10D.SourceGenerator\X10D.SourceGenerator.csproj">
<OutputItemType>Analyzer</OutputItemType>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="JetBrains.dotCover.MSBuild" Version="1.0.5-alpha">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>

View File

@ -98,8 +98,12 @@ public static class RuneExtensions
});
}
// dotcover disable
//NOSONAR
default:
return Default();
//NOSONAR
// dotcover enable
}
[ExcludeFromCodeCoverage, DoesNotReturn]