From 91910b86acd2a92f645f75c11ce8dca39d73d4de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Thu, 26 May 2022 13:59:29 +0200 Subject: [PATCH] Fix IDE warnings (#3679) --- test/Intent/ConsoleLogger.cs | 3 ++- .../TestPlatformTests.cs | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Intent/ConsoleLogger.cs b/test/Intent/ConsoleLogger.cs index 751f9b3736..b19f46b3c8 100644 --- a/test/Intent/ConsoleLogger.cs +++ b/test/Intent/ConsoleLogger.cs @@ -53,7 +53,8 @@ public void WriteSummary(int passed, List<(MethodInfo method, Exception exceptio { WriteLine(); WriteLine(); - if (failures.Count > 0) { + if (failures.Count > 0) + { WriteLine($"There were {failures.Count} failures:"); } failures.ForEach(t => { WriteTestFailure(t.method, t.exception, t.time); WriteLine(); }); diff --git a/test/Microsoft.TestPlatform.Client.UnitTests/TestPlatformTests.cs b/test/Microsoft.TestPlatform.Client.UnitTests/TestPlatformTests.cs index d5b2ec13d6..69d039d7e1 100644 --- a/test/Microsoft.TestPlatform.Client.UnitTests/TestPlatformTests.cs +++ b/test/Microsoft.TestPlatform.Client.UnitTests/TestPlatformTests.cs @@ -10,7 +10,6 @@ using Microsoft.VisualStudio.TestPlatform.Common.Logging; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Client; -using Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.Interfaces; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Host; using Microsoft.VisualStudio.TestPlatform.Utilities.Helpers;