EndWith
ShouldEndWith
var target = "Homer";
target.ShouldEndWith("Bart");Exception
target
should end with
"Bart"
but was
"Homer"ShouldNotEndWith
var target = "Homer Simpson";
target.ShouldNotEndWith("Simpson");Exception
target
should not end with
"Simpson"
but was
"Homer Simpson"Last updated