Skip to content

Commit

Permalink
Ensure there is a self cleaning directory to remove
Browse files Browse the repository at this point in the history
  • Loading branch information
yorah committed Jul 18, 2013
1 parent 399384d commit 01dfa28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LibGit2Sharp.Tests/RepositoryFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ public void CanCheckIfADirectoryLeadsToAValidRepository()
SelfCleaningDirectory scd = BuildSelfCleaningDirectory();

Assert.False(Repository.IsValid(scd.DirectoryPath));

Directory.CreateDirectory(scd.DirectoryPath);

Assert.False(Repository.IsValid(scd.DirectoryPath));
}

[Fact]
Expand Down

0 comments on commit 01dfa28

Please sign in to comment.