Skip to content

Commit

Permalink
Update Verifier.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jul 16, 2024
1 parent caf7ae9 commit 8720929
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Verify.NUnit/Verifier.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace VerifyNUnit;
#pragma warning disable VerifySetParameters
namespace VerifyNUnit;

public static partial class Verifier
{
Expand Down Expand Up @@ -33,9 +34,7 @@ static InnerVerifier BuildVerifier(string sourceFile, VerifySettings settings, b
if (!settings.HasParameters &&
adapter.Arguments.Length > 0)
{
#pragma warning disable VerifySetParameters
settings.SetParameters(adapter.Arguments);
#pragma warning restore
}

var customName = !adapter.FullName.StartsWith($"{testMethod.TypeInfo.FullName}.{testMethod.Name}");
Expand Down

0 comments on commit 8720929

Please sign in to comment.