Skip to content

Commit

Permalink
Linux file systems may not preserve the creation order
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Junker committed Jun 25, 2018
1 parent 91ab835 commit 2faf70d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/FubarDev.WebDavServer.Tests/FileSystem/SimpleFsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;

Expand Down Expand Up @@ -68,7 +69,7 @@ public async Task TwoEmptyDirectories()
var test2 = await root.CreateCollectionAsync("test2", ct).ConfigureAwait(false);
var rootChildren = await root.GetChildrenAsync(ct).ConfigureAwait(false);
Assert.Collection(
rootChildren,
rootChildren.OrderBy(n => n.Name),
child =>
{
Assert.NotNull(child);
Expand Down

0 comments on commit 2faf70d

Please sign in to comment.