8000 Assert against sorted entries · thatfrankdev/libgit2sharp@9e05f8d · GitHub
[go: up one dir, main page]

Skip to content

Commit 9e05f8d

Browse files
committed
Assert against sorted entries
1 parent 48548dc commit 9e05f8d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

LibGit2Sharp.Tests/ConfigurationFixture.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,10 @@ public void CanFindInLocalConfig()
217217

218218
Assert.NotNull(matches);
219219
Assert.Equal(new[] { "unittests.intsetting", "unittests.longsetting" },
220-
matches.Select(m => m.Key).ToArray());
220+
matches
221+
.Select(m => m.Key)
222+
.OrderBy(s => s)
223+
.ToArray());
221224
}
222225
}
223226

0 commit comments

Comments
 (0)
0