Skip to content

Commit

Permalink
Convert to ImmutableHashSet for consistency in comparison (#4090)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Nagy authored and Aaronontheweb committed Dec 20, 2019
1 parent a595d15 commit 116e6e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void ConstantRateEntityRecoveryStrategy_must_recover_entities()
scheduledEntities[0].Count.Should().Be(2);
scheduledEntities[1].Count.Should().Be(2);
scheduledEntities[2].Count.Should().Be(1);
scheduledEntities.SelectMany(s => s).Should().Equal(entities);
scheduledEntities.SelectMany(s => s).ToImmutableHashSet().Should().Equal(entities);

var timesMillis = result.Select(pair => pair.Value.TotalMilliseconds).ToArray();

Expand Down

0 comments on commit 116e6e4

Please sign in to comment.