From 7263df610e2f9405fd8f49f5973f0e4182b0ad5f Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Fri, 24 Apr 2020 01:01:35 +0200 Subject: Ensure consistent sources formatting (#1138) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Apply consistent formatting based on .editorconfig ``` dotnet format -f ``` * Add lint step to the CI * Use local tool * Suppress publish logs warning * Fix more style errors * Fixes bad merge * Write something to log dir * Move lint job to global scope So it doesn't get the arcade publish logs/test steps injected. * Split sources and tests reporting * Include also src folder in the run * Exclude cecil sources * Remove duplicate line * Trigger notification * Format more code Co-authored-by: Alexander Köplinger --- test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs') diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs index f0f96f0f6..80a3908f9 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs @@ -18,7 +18,7 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock [Kept] [ExpectBodyModified] - [ExpectedLocalsSequence (new string [0])] + [ExpectedLocalsSequence (new string[0])] static void Test_1 () { if (!AlwaysTrue) { @@ -29,7 +29,7 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock [Kept] [ExpectBodyModified] - [ExpectedLocalsSequence (new string [] { "System.Object", "System.Int32" })] + [ExpectedLocalsSequence (new string[] { "System.Object", "System.Int32" })] static int Test_2 (int arg) { if (!AlwaysTrue) { @@ -47,7 +47,7 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock [Kept] [ExpectBodyModified] - [ExpectedLocalsSequence (new string [] { "System.Int32", "System.DateTime", "System.DateTimeOffset", "System.DateTimeOffset" })] + [ExpectedLocalsSequence (new string[] { "System.Int32", "System.DateTime", "System.DateTimeOffset", "System.DateTimeOffset" })] static int Test_3 () { var b = 3; -- cgit v1.2.3