Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
dotnetspark committed Feb 12, 2022
1 parent 08842fc commit c2296cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Polly.Specs/Registry/ReadOnlyPolicyRegistrySpecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,10 @@ public void Policies_Should_Be_Added_To_The_Registry_When_Using_Collection_Initi
{key, policy}
};

testRegistry.Should().Equals(new KeyValuePair<string, IsPolicy>(key, policy));
testRegistry.Should().Equal(new Dictionary<string, IsPolicy>
{
{key, policy}
});
}
#endregion
}
Expand Down

0 comments on commit c2296cf

Please sign in to comment.