Skip to content

Commit 2faf70d

Browse files
author
Mark Junker
committed
Linux file systems may not preserve the creation order
1 parent 91ab835 commit 2faf70d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/FubarDev.WebDavServer.Tests/FileSystem/SimpleFsTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
using System;
66
using System.IO;
7+
using System.Linq;
78
using System.Threading;
89
using System.Threading.Tasks;
910

@@ -68,7 +69,7 @@ public async Task TwoEmptyDirectories()
6869
var test2 = await root.CreateCollectionAsync("test2", ct).ConfigureAwait(false);
6970
var rootChildren = await root.GetChildrenAsync(ct).ConfigureAwait(false);
7071
Assert.Collection(
71-
rootChildren,
72+
rootChildren.OrderBy(n => n.Name),
7273
child =>
7374
{
7475
Assert.NotNull(child);

0 commit comments

Comments
 (0)