From 32f931c44029b29c56b275756bdaf84359d0e3c3 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Sat, 13 Feb 2021 09:07:39 +0000 Subject: [PATCH] cleanup --- QSB/Utility/UnitTestDetector.cs | 2 +- QSBTests/EventTests.cs | 6 +++--- QSBTests/Properties/AssemblyInfo.cs | 1 - QSBTests/UtilityTests.cs | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/QSB/Utility/UnitTestDetector.cs b/QSB/Utility/UnitTestDetector.cs index 439f3584..399855d3 100644 --- a/QSB/Utility/UnitTestDetector.cs +++ b/QSB/Utility/UnitTestDetector.cs @@ -14,4 +14,4 @@ namespace QSB.Utility public static bool IsInUnitTest { get; private set; } } -} +} \ No newline at end of file diff --git a/QSBTests/EventTests.cs b/QSBTests/EventTests.cs index bfb4d7c2..c3b15ab6 100644 --- a/QSBTests/EventTests.cs +++ b/QSBTests/EventTests.cs @@ -1,9 +1,9 @@ -using System; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using QSB.Events; +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using QSB.Events; namespace QSBTests { diff --git a/QSBTests/Properties/AssemblyInfo.cs b/QSBTests/Properties/AssemblyInfo.cs index 825ccfea..52d585f2 100644 --- a/QSBTests/Properties/AssemblyInfo.cs +++ b/QSBTests/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("QSBTests")] diff --git a/QSBTests/UtilityTests.cs b/QSBTests/UtilityTests.cs index 8ed47ceb..e6f3af59 100644 --- a/QSBTests/UtilityTests.cs +++ b/QSBTests/UtilityTests.cs @@ -7,7 +7,7 @@ namespace QSBTests public class UtilityTests { [TestMethod] - public void IsInUnitTest() + public void IsInUnitTest() => Assert.IsTrue(UnitTestDetector.IsInUnitTest, "UnitTestDetector is not working."); } }