Skip to content

Commit a83bc56

Browse files
committed
Use discard
1 parent c9ed5b5 commit a83bc56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FluentAssertions.DataSets.Specs/DataTableSpecs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public void When_excluding_invalid_constraint_it_should_throw()
246246

247247
// Act
248248
Action action = () => subject.Should().BeEquivalentTo(expectation, options => options
249-
.ExcludingRelated((Constraint constraint) => new object()));
249+
.ExcludingRelated((Constraint _) => new object()));
250250

251251
// Assert
252252
action.Should().Throw<ArgumentException>().WithMessage(

0 commit comments

Comments
 (0)