Esempio n. 1
0
        public void GetCommitBySha1()
        {
            var sha1 = new Sha1("8c89dcaf09dfad151e182b81918e0530b9019ac4");

            Assert.AreEqual(sha1, _repo.GetCommit(sha1).Id);
        }
Esempio n. 2
0
        public void GetCommitBySha1()
        {
            var commits = repo.Commits.First().Id;

            repo.GetCommit(commits).Id.ShouldNotBeNull();
        }