Skip to content

Commit

Permalink
Add ToString override to TestProbe. (#3579)
Browse files Browse the repository at this point in the history
  • Loading branch information
basbossinkdivverence authored and Aaronontheweb committed Sep 5, 2018
1 parent 810312c commit 2db71c8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/Akka.TestKit/TestProbe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,11 @@ public override int GetHashCode()
{
return TestActor.GetHashCode();
}

/// <inheritdoc/>
public override string ToString()
{
return $"TestProbe({TestActor})";
}
}
}

0 comments on commit 2db71c8

Please sign in to comment.