Skip to content

Commit

Permalink
Do not care about order
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Oct 14, 2015
1 parent b32e455 commit 3d72143
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AngleSharp.Core.Tests/Library/HttpRequester.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using NUnit.Framework;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;

Expand Down Expand Up @@ -312,8 +313,8 @@ public async Task FilteringRequestsWork()
Assert.IsNotNull(document);
Assert.AreEqual(2, requests.Count);
Assert.AreEqual(3, filtered.Count);
Assert.AreEqual("test.css", requests[0].Address.Path);
Assert.AreEqual("test.html", requests[1].Address.Path);
Assert.IsTrue(requests.Any(m => m.Address.Path == "test.css"));
Assert.IsTrue(requests.Any(m => m.Address.Path == "test.html"));
}
}
}

0 comments on commit 3d72143

Please sign in to comment.