Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2020-04-24 02:01:35 +0300
committerGitHub <noreply@github.com>2020-04-24 02:01:35 +0300
commit7263df610e2f9405fd8f49f5973f0e4182b0ad5f (patch)
treedcff6ce9465f9c829b52a1f8bb17da7a9c6b910d /test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs
parentd60f4eab2982dfef19d71dfcf2d5ab2286950af2 (diff)
Ensure consistent sources formatting (#1138)
* Apply consistent formatting based on .editorconfig ``` dotnet format -f <path> ``` * 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 <alex.koeplinger@outlook.com>
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs')
-rw-r--r--test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs6
1 files changed, 3 insertions, 3 deletions
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;