Skip to content

Commit

Permalink
chore: L01 sample update nugets
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Pluskal committed Feb 7, 2024
1 parent c7bfc53 commit 10ed8c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.8.0" />
<PackageReference Include="CommandLineParser" Version="2.9.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal static void Calculate(CommandLineOptions options)

private static int CheckOperand(int? operand)
{
if (operand == null)
if (operand is null)
{
throw new ArgumentNullException(nameof(operand), "Operand cannot be null!");
}
Expand All @@ -31,7 +31,7 @@ private static int CheckOperand(int? operand)

private static MathOperation CheckOperation(MathOperation? operation)
{
if (operation == null)
if (operation is null)
{
throw new ArgumentNullException(nameof(operation), "Operation cannot be null!");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="1.3.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit 10ed8c5

Please sign in to comment.