ConstraintFactory.DoesNotEndWith(String) 方法

定义

返回一个约束,如果实际值以作为参数提供的子字符串结束,则此约束将失败。

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

参数

expected
String

返回

适用于