ConstraintFactory.EndsWith(String) Method

Definition

Returns a constraint that succeeds if the actual value ends with the substring supplied as an argument.

public NUnit.Framework.Constraints.EndsWithConstraint EndsWith (string expected);
member this.EndsWith : string -> NUnit.Framework.Constraints.EndsWithConstraint

Parameters

expected
String

Returns

Applies to