Skip to content

Commit

Permalink
converge assert function name
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasteles committed Jul 7, 2023
1 parent c767acb commit a7467cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resulteles.FluentAssertions/ResultAssertions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public AndConstraint<ResultTStringAssertions<T>> HaveMessage(string message)
return new(this);
}

public AndConstraint<ResultTStringAssertions<T>> ErrorWithMessage(string message) =>
public AndConstraint<ResultTStringAssertions<T>> BeErrorWithMessage(string message) =>
BeError().And.HaveMessage(message);

public AndConstraint<ResultTStringAssertions<T>> Be(T other)
Expand Down

0 comments on commit a7467cf

Please sign in to comment.