From 9170481a881f67df73840855f22f42b48fdfa340 Mon Sep 17 00:00:00 2001 From: Shigenobu Furuta Date: Tue, 16 Apr 2024 00:09:39 +0900 Subject: [PATCH] Modify test. --- OrangeCabinet.Tests/TestSimpleAsync.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OrangeCabinet.Tests/TestSimpleAsync.cs b/OrangeCabinet.Tests/TestSimpleAsync.cs index 832f955..ceac1ae 100644 --- a/OrangeCabinet.Tests/TestSimpleAsync.cs +++ b/OrangeCabinet.Tests/TestSimpleAsync.cs @@ -45,7 +45,7 @@ public async Task Test() // ... Thread.Sleep(1000); - server.SendTo("hello from server", new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8710)); + await server.SendToAsync("hello from server", new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8710)); server.Shutdown(); OcLogger.Close();