public void TestFile() { var path = PathUtilities.GetDirectoryForCaller(); var file = path + "a.txt"; SetApprovals.VerifyFileAsSet(file); }
public void TestFileWithScrubber() { var path = PathUtilities.GetDirectoryForCaller(); var file = path + "a.txt"; Func <string, string> scrubber = s => Regex.Replace(s, @"^[^\|]*", ""); SetApprovals.VerifyFileAsSet(file, scrubber); }