From cfb49345937681250f5fc71f47bf9e2c59bfe226 Mon Sep 17 00:00:00 2001 From: Ben Pollard <129943363+benpollarduk@users.noreply.github.com> Date: Wed, 4 Dec 2024 22:43:59 +0000 Subject: [PATCH] Update Ansi_Tests.cs --- NetAF.Tests/Rendering/Console/Ansi_Tests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NetAF.Tests/Rendering/Console/Ansi_Tests.cs b/NetAF.Tests/Rendering/Console/Ansi_Tests.cs index 90f5684b..deb9692d 100644 --- a/NetAF.Tests/Rendering/Console/Ansi_Tests.cs +++ b/NetAF.Tests/Rendering/Console/Ansi_Tests.cs @@ -18,23 +18,23 @@ public void GivenNoColorEnvironmentVariableSetToEmptyString_WhenIsColorSuppresse } [TestMethod] - public void GivenNoColorEnvironmentVariableSetTo0_WhenIsColorSuppressed_ThenReturnFalse() + public void GivenNoColorEnvironmentVariableSetTo0_WhenIsColorSuppressed_ThenReturnTrue() { Environment.SetEnvironmentVariable(Ansi.NO_COLOR, "0"); var result = Ansi.IsColorSuppressed(); - Assert.IsFalse(result); + Assert.IsTrue(result); } [TestMethod] - public void GivenNoColorEnvironmentVariableSetToFalse_WhenIsColorSuppressed_ThenReturnFalse() + public void GivenNoColorEnvironmentVariableSetToFalse_WhenIsColorSuppressed_ThenReturnTrue() { Environment.SetEnvironmentVariable(Ansi.NO_COLOR, "False"); var result = Ansi.IsColorSuppressed(); - Assert.IsFalse(result); + Assert.IsTrue(result); } [TestMethod]