From 3b8e3556d6533daa64469c3377daca76b47b057d Mon Sep 17 00:00:00 2001 From: Dominion Date: Sat, 22 Apr 2023 10:06:03 -0400 Subject: [PATCH] Add missing discard --- tests/Tgstation.Server.Host.Tests/TestServerFactory.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Tgstation.Server.Host.Tests/TestServerFactory.cs b/tests/Tgstation.Server.Host.Tests/TestServerFactory.cs index ccff68e20d..f5a41b74d9 100644 --- a/tests/Tgstation.Server.Host.Tests/TestServerFactory.cs +++ b/tests/Tgstation.Server.Host.Tests/TestServerFactory.cs @@ -1,4 +1,4 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Threading.Tasks; @@ -22,7 +22,7 @@ namespace Tgstation.Server.Host.Tests IAssemblyInformationProvider assemblyInformationProvider = Mock.Of(); Assert.ThrowsException(() => new ServerFactory(assemblyInformationProvider, null)); IIOManager ioManager = Mock.Of(); - new ServerFactory(assemblyInformationProvider, ioManager); + _ = new ServerFactory(assemblyInformationProvider, ioManager); } [TestMethod]