ConstraintFactory.DoesNotEndWith(String) Method

Definition

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

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

Parameters

expected
String

Returns

EndsWithConstraint

Applies to