Skip to content

Commit

Permalink
Update NUnit packages to their latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
atifaziz committed Dec 27, 2024
1 parent c1d0d46 commit 4799c5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions MoreLinq.Test/MoreLinq.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
<PackageReference Include="NUnit" Version="4.3.1" />
<PackageReference Include="NUnit.Analyzers" Version="4.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnitLite" Version="4.2.2" />
<PackageReference Include="NUnitLite" Version="4.3.1" />
<PackageReference Include="PolySharp" Version="1.14.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
8 changes: 4 additions & 4 deletions MoreLinq.Test/Throws.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ public static ExactTypeConstraint TypeOf<T>()
where T : Exception =>
NUnit.Framework.Throws.TypeOf<T>();

public static EqualConstraint ArgumentException(string expectedParamName) =>
public static EqualStringConstraint ArgumentException(string expectedParamName) =>
NUnit.Framework.Throws.ArgumentException.With.ParamName(expectedParamName);

public static EqualConstraint ArgumentNullException(string expectedParamName) =>
public static EqualStringConstraint ArgumentNullException(string expectedParamName) =>
NUnit.Framework.Throws.ArgumentNullException.With.ParamName(expectedParamName);

public static ExactTypeConstraint ArgumentOutOfRangeException() =>
TypeOf<ArgumentOutOfRangeException>();

public static EqualConstraint ArgumentOutOfRangeException(string expectedParamName) =>
public static EqualStringConstraint ArgumentOutOfRangeException(string expectedParamName) =>
ArgumentOutOfRangeException().With.ParamName(expectedParamName);

public static EqualConstraint ParamName(this ConstraintExpression constraint, string expectedParamName) =>
public static EqualStringConstraint ParamName(this ConstraintExpression constraint, string expectedParamName) =>
constraint.ParamName().EqualTo(expectedParamName);

static ResolvableConstraintExpression ParamName(this ConstraintExpression constraint) =>
Expand Down

0 comments on commit 4799c5e

Please sign in to comment.