Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NUnit packages to their latest versions #1089

Merged
merged 1 commit into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading