Skip to content

Commit 061238b

Browse files
committed
fixup! Drop TreeChanges path indexer
1 parent f97e6f1 commit 061238b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp.Tests/DiffTreeToTreeFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ private void CanHandleTwoTreeEntryChangesWithTheSamePath(SimilarityOptions simil
912912
Blob mainContent = OdbHelper.CreateBlob(repo, "awesome content\n" + new string('b', 4096));
913913
Blob linkContent = OdbHelper.CreateBlob(repo, "../../objc/Nu.h");
914914

915-
string path = string.Format("include{0}Nu{0}Nu.h", Path.DirectorySeparatorChar);
915+
string path = Path.Combine("include", "Nu", "Nu.h");
916916

917917
var tdOld = new TreeDefinition()
918918
.Add(path, linkContent, Mode.SymbolicLink)

0 commit comments

Comments
 (0)