8000 Enable now passing test assertion · apfunk/libgit2sharp@a4c6c45 · GitHub
[go: up one dir, main page]

Skip to content

Commit a4c6c45

Browse files
committed
Enable now passing test assertion
1 parent 6e2d8cd commit a4c6c45

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

LibGit2Sharp.Tests/StashFixture.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ public void CanStashIgnoredFiles()
196196
var stasher = Constants.Signature;
197197
var stash = repo.Stashes.Add(stasher, "This stash includes ignore files", StashModifiers.IncludeIgnored);
198198

199-
//TODO : below assertion doesn't pass. Bug?
200-
//Assert.False(File.Exists(ignoredFilePath));
199+
Assert.False(File.Exists(Path.Combine(repo.Info.WorkingDirectory, ignoredFilename)));
201200

202201
var blob = repo.Lookup<Blob>("stash^3:ignored_file.txt");
203202
Assert.NotNull(blob);

0 commit comments

Comments
 (0)
0