Last updated 2 years ago
var target = "Homer Simpson"; target.ShouldMatch("Bart .*");
|
Exception
target should match "Bart .*" but was "Homer Simpson"
var target = "Homer Simpson"; target.ShouldNotMatch("Homer .*");
target should not match "Homer .*" but did