Match
var target = "Homer Simpson";
target.ShouldMatch("Bart .*");
Exception
target
should match
"Bart .*"
but was
"Homer Simpson"
var target = "Homer Simpson";
target.ShouldNotMatch("Homer .*");
Exception
target should not match "Homer .*" but did
Last modified 5mo ago