From c0acb7f5d533ab90d0cc421a144cb4d580bd3a9b Mon Sep 17 00:00:00 2001 From: Emil Koutanov Date: Mon, 29 Jan 2024 10:34:19 +1100 Subject: [PATCH] Minor --- Actors.Tests/TroupeTest.cs | 4 ++-- README.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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") {