Skip to content

Commit 61ed9b8

Browse files
authored
Merge pull request #27773 from dotnet-maestro-bot/merge/release/6.0.3xx-to-release/6.0.4xx
[automated] Merge branch 'release/6.0.3xx' => 'release/6.0.4xx'
2 parents 3e0cf39 + 108c3a8 commit 61ed9b8

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/BlazorWasmSdk/Tasks/BrotliCompress.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ protected override string GenerateResponseFileCommands()
111111
}
112112

113113
builder.AppendLine("-s");
114-
builder.AppendLine(inputFullPath);
114+
builder.AppendLine(Quote(inputFullPath));
115115

116116
builder.AppendLine("-o");
117-
builder.AppendLine(outputFullPath);
117+
builder.AppendLine(Quote(outputFullPath));
118118
}
119119

120120
return builder.ToString();

src/Tests/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/WasmBuildIntegrationTest.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ public void BuildMinimal_Works()
4343
new FileInfo(Path.Combine(buildOutputDirectory, "wwwroot", "_framework", "blazorwasm-minimal.dll")).Should().Exist();
4444
}
4545

46-
[Fact]
47-
public void Build_Works()
46+
[Theory]
47+
[InlineData("blazor")]
48+
[InlineData("blazor spaces")]
49+
public void Build_Works(string identifier)
4850
{
4951
// Arrange
5052
var testAppName = "BlazorWasmWithLibrary";
51-
var testInstance = CreateAspNetSdkTestAsset(testAppName);
53+
var testInstance = CreateAspNetSdkTestAsset(testAppName, identifier: identifier);
5254

5355
var buildCommand = new BuildCommand(testInstance, "blazorwasm");
5456
buildCommand.Execute()

0 commit comments

Comments
 (0)