public void RepositoryShouldNotThrowExceptionWhenWalkingTree()
{
Repository repo = Repository.Open(Global.RestRepositoryPath);
try
{
WalkHistory(repo.HEAD.Commit);
Assert.IsTrue(true, "Walking the history from HEAD does not throw exception");
}
catch (Exception ex)
{
Assert.IsTrue(false, "Walking the history should not throw exception, caught: '{0}'".FormatWith(ex));
}
}