diff --git a/Actors.Tests/TroupeTest.cs b/Actors.Tests/TroupeTest.cs index d062a53..3e7de75 100644 --- a/Actors.Tests/TroupeTest.cs +++ b/Actors.Tests/TroupeTest.cs @@ -1,6 +1,6 @@ namespace Actors.Tests; -static class IEnumerableExtensions +static class PausingActorExtensions { public static void AssertNoError(this PausingActor[] actors) { @@ -86,7 +86,7 @@ public async Task TestDrainAll() m1.Resume.SetResult(); await drain; Assert.IsFalse(actors[1].Scheduled); - + actors.AssertNoError(); } } \ No newline at end of file diff --git a/README.md b/README.md index d363eb7..f0860cd 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ class Printer : Actor } } +// calling the actor var printer = new Printer(); foreach (var ch in "Hello World\n") {