Skip to content

Commit

Permalink
More comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Jun 19, 2023
1 parent 7aec2fd commit ce2c171
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ public void OverrideLibraryStrategies_898(bool overrideStrategy)
// act && assert
if (overrideStrategy)
{
// The library now also handles SocketException.
api.Invoking(a => a.ExecuteLibrary(UnstableCall)).Should().NotThrow();

}
else
{
// Originally, the library strategy only handled InvalidOperationException.
api.Invoking(a => a.ExecuteLibrary(UnstableCall)).Should().Throw<SocketException>();
}

Expand Down

0 comments on commit ce2c171

Please sign in to comment.