var target = "Homer"; target.ShouldEndWith("Bart");
snippet source | anchor
Exception
target should end with "Bart" but was "Homer"
var target = "Homer Simpson"; target.ShouldNotEndWith("Simpson");
target should not end with "Simpson" but was "Homer Simpson"
Last updated 1 year ago