static Task VerifyInner(string path) { var directory = Path.Combine(AssemblyLocation.CurrentDirectory, path); var hash = GitHashReader.GetHashForGitDirectory(directory); return(Verifier.Verify(hash)); }
static void Verify(string path) { var directory = Path.Combine(AssemblyLocation.CurrentDirectory, path); var hash = GitHashReader.GetHashForGitDirectory(directory); Approvals.Verify(hash); }
public void GetHash() { var path = GitRepoDirectoryFinder.FindForFilePath(); var hash = GitHashReader.GetHash(path); Assert.NotNull(hash); Assert.NotEmpty(hash); }