mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2025-12-15 11:22:52 +00:00
Fix or ignore build warnings in tests
This commit is contained in:
@@ -6,6 +6,12 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<AnalysisLevel>latest-Recommended</AnalysisLevel>
|
||||
|
||||
<!--
|
||||
CA1859: Change type of field 'xxx' from interface to type for performance reasons
|
||||
CA1852: Type 'ReadFromBuffer' can be sealed
|
||||
-->
|
||||
<NoWarn>$(NoWarn);CA1859;CA1852</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -42,7 +42,7 @@ internal class VariableNameParserTests
|
||||
public void Invalid(string? input)
|
||||
{
|
||||
var parser = new VariableNameParser();
|
||||
Should.Throw<InvalidS7AddressException>(() => parser.Parse(input));
|
||||
Should.Throw<InvalidS7AddressException>(() => parser.Parse(input!));
|
||||
}
|
||||
|
||||
public static IEnumerable<TestCase> ValidTestCases()
|
||||
|
||||
Reference in New Issue
Block a user