Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 58a5cfb

Browse files
authored
Merge pull request #613 from StanleyGoldman/fixes/tracking-collection-timing-test
OrderByDoesntMatchOriginalOrderTimings unit test fix
2 parents f4f8925 + bc1a706 commit 58a5cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TrackingCollectionTests/TrackingCollectionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public void OrderByDoesntMatchOriginalOrderTimings()
378378
var total = 1000;
379379

380380
var list1 = new List<Thing>(Enumerable.Range(1, total).Select(i => GetThing(i, i, i, "Run 1")).ToList());
381-
var list2 = new List<Thing>(Enumerable.Range(1, total).Select(i => GetThing(i, i, i, "Run 2")).ToList());
381+
var list2 = new List<Thing>(Enumerable.Range(1, total).Select(i => GetThing(i, i, i + 1, "Run 2")).ToList());
382382

383383
ITrackingCollection<Thing> col = new TrackingCollection<Thing>(
384384
list1.ToObservable(),

0 commit comments

Comments
 (0)