From a9ff809ba8350776f36c3bfe13c652285d0897c0 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Thu, 8 Apr 2021 23:57:44 -0500 Subject: [PATCH] Changed some tests to use Assert bool instead of equal. --- .../Modules/Games/ServiceDescriptorTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/GameServiceWarden.Core.Tests/Modules/Games/ServiceDescriptorTest.cs b/tests/GameServiceWarden.Core.Tests/Modules/Games/ServiceDescriptorTest.cs index 9753c97..878b816 100644 --- a/tests/GameServiceWarden.Core.Tests/Modules/Games/ServiceDescriptorTest.cs +++ b/tests/GameServiceWarden.Core.Tests/Modules/Games/ServiceDescriptorTest.cs @@ -89,7 +89,7 @@ namespace GameServiceWarden.Core.Tests.Modules.Games IService stubService = new FakeService(); ServiceDescriptor serviceInfo = new ServiceDescriptor(stubService, SERVICE_NAME, "FakeModule", "FakeAssembly"); //Then - Assert.Equal(false, serviceInfo.GetServiceState()); + Assert.False(serviceInfo.GetServiceState()); } [Fact] @@ -102,7 +102,7 @@ namespace GameServiceWarden.Core.Tests.Modules.Games //When serviceInfo.Start(); //Then - Assert.Equal(true, serviceInfo.GetServiceState()); + Assert.True(serviceInfo.GetServiceState()); serviceInfo.Stop(); }