Edit

Share via


ConstraintExpression.ContainsSubstring(String) Method

Definition

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

public NUnit.Framework.Constraints.SubstringConstraint ContainsSubstring (string expected);
member this.ContainsSubstring : string -> NUnit.Framework.Constraints.SubstringConstraint

Parameters

expected
String

Returns

Applies to