From 894b7ba2aadb1cbb9e0565080f738a1ce87bea82 Mon Sep 17 00:00:00 2001 From: "Wenzel, Toni" Date: Fri, 2 Sep 2022 07:53:34 +0200 Subject: [PATCH] Fix formatting --- src/Cake.Core.Tests/Unit/CakeEngineTests.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Cake.Core.Tests/Unit/CakeEngineTests.cs b/src/Cake.Core.Tests/Unit/CakeEngineTests.cs index 4bdd7656ef..8ada45e8f6 100644 --- a/src/Cake.Core.Tests/Unit/CakeEngineTests.cs +++ b/src/Cake.Core.Tests/Unit/CakeEngineTests.cs @@ -1632,8 +1632,16 @@ public async Task Should_Execute_Tasks_In_Parallel() var settings = new ExecutionSettings().SetTarget("E").RunInParallel(); var engine = fixture.CreateEngine(); engine.RegisterTask("A").Does(() => result.Add("A")); - engine.RegisterTask("B").IsDependentOn("A").Does(async () => { await Task.Delay(20); result.Add("B"); }); - engine.RegisterTask("C").IsDependentOn("A").Does(async () => { await Task.Delay(5); result.Add("C"); }); + engine.RegisterTask("B").IsDependentOn("A").Does(async () => + { + await Task.Delay(20); + result.Add("B"); + }); + engine.RegisterTask("C").IsDependentOn("A").Does(async () => + { + await Task.Delay(5); + result.Add("C"); + }); engine.RegisterTask("D").IsDependentOn("A").Does(() => result.Add("D")); engine.RegisterTask("E").IsDependentOn("B").IsDependentOn("C").IsDependentOn("D").Does(() => result.Add("E"));