Skip to content

Commit 0a7f737

Browse files
committed
fixing syntax errors
1 parent 7649383 commit 0a7f737

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

test/Cli/Func.E2ETests/Commands/FuncPack/PowershellPackTests.cs

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
1+
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

44
using Azure.Functions.Cli.E2ETests.Traits;
@@ -88,14 +88,17 @@ public void Pack_Powershell_NoBuild_BehaviorUnchanged()
8888

8989
var baselineZip = Directory.GetFiles(PowershellProjectPath, "*.zip").FirstOrDefault();
9090
baselineZip.Should().NotBeNull();
91-
regular.Should().ValidateZipContents(baselineZip!, new[]
92-
{
93-
"host.json",
94-
"requirements.psd1",
95-
Path.Combine("HttpTrigger", "run.ps1"),
96-
"profile.ps1",
97-
Path.Combine("HttpTrigger", "function.json")
98-
}, Log);
91+
regular.Should().ValidateZipContents(
92+
baselineZip!,
93+
new[]
94+
{
95+
"host.json",
96+
"requirements.psd1",
97+
Path.Combine("HttpTrigger", "run.ps1"),
98+
"profile.ps1",
99+
Path.Combine("HttpTrigger", "function.json")
100+
},
101+
Log);
99102

100103
// Remove zip to avoid interference
101104
File.Delete(baselineZip!);
@@ -109,14 +112,17 @@ public void Pack_Powershell_NoBuild_BehaviorUnchanged()
109112

110113
var nobuildZip = Directory.GetFiles(PowershellProjectPath, "*.zip").FirstOrDefault();
111114
nobuildZip.Should().NotBeNull();
112-
nobuild.Should().ValidateZipContents(nobuildZip!, new[]
113-
{
114-
"host.json",
115-
"requirements.psd1",
116-
Path.Combine("HttpTrigger", "run.ps1"),
117-
"profile.ps1",
118-
Path.Combine("HttpTrigger", "function.json")
119-
}, Log);
115+
nobuild.Should().ValidateZipContents(
116+
nobuildZip!,
117+
new[]
118+
{
119+
"host.json",
120+
"requirements.psd1",
121+
Path.Combine("HttpTrigger", "run.ps1"),
122+
"profile.ps1",
123+
Path.Combine("HttpTrigger", "function.json")
124+
},
125+
Log);
120126

121127
File.Delete(nobuildZip!);
122128
}

0 commit comments

Comments
 (0)