Skip to content

Commit bc17291

Browse files
committed
Fix namespaces and unit test
1 parent a884cd2 commit bc17291

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Tests/UnitTestsParallelizable/Drawing/Sixel/SixelSupportDetectorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#nullable enable
22
using Moq;
33

4-
namespace UnitTests_Parallelizable.DrawingTests;
4+
namespace DrawingTests;
55

66
public class SixelSupportDetectorTests
77
{

Tests/UnitTestsParallelizable/Drawing/Sixel/SixelSupportResultTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#nullable enable
22

3-
namespace UnitTests_Parallelizable.DrawingTests;
3+
namespace DrawingTests;
44

55
public class SixelSupportResultTests
66
{

Tests/UnitTestsParallelizable/Drawing/Sixel/SixelToRenderTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#nullable enable
22
using Moq;
33

4-
namespace UnitTests_Parallelizable.DrawingTests;
4+
namespace DrawingTests;
55

66
public class SixelToRenderTests
77
{
@@ -180,11 +180,6 @@ bool expectedSupportsTransparency
180180
// Arrange - set XTERM_VERSION env var to indicate real xterm with transparency
181181
string? prev = Environment.GetEnvironmentVariable ("XTERM_VERSION");
182182

183-
if (isXtermWithTransparency)
184-
{
185-
Environment.SetEnvironmentVariable ("XTERM_VERSION", "370");
186-
}
187-
188183
try
189184
{
190185
var output = new FakeOutput ();
@@ -218,6 +213,11 @@ bool expectedSupportsTransparency
218213

219214
SixelSupportResult? final = null;
220215

216+
if (isXtermWithTransparency)
217+
{
218+
Environment.SetEnvironmentVariable ("XTERM_VERSION", "370");
219+
}
220+
221221
// Act
222222
detector.Detect (r => final = r);
223223

Tests/UnitTestsParallelizable/Drivers/OutputBaseTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#nullable enable
22

3-
namespace UnitTests_Parallelizable.DriverTests;
3+
namespace DriverTests;
44

55
public class OutputBaseTests
66
{

0 commit comments

Comments
 (0)