Skip to content

Commit

Permalink
Fix spacing issues in test files
Browse files Browse the repository at this point in the history
  • Loading branch information
mthalman committed Nov 9, 2020
1 parent be0f47d commit 47f8341
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/Microsoft.DotNet.Docker.Tests/AspnetImageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ public void VerifyEnvironmentVariables(ProductImageData imageData)
EnvironmentVariableInfo aspnetVersionVariableInfo = GetAspnetVersionVariableInfo(imageData, DockerHelper);
if (aspnetVersionVariableInfo != null)
{
variables.Add(aspnetVersionVariableInfo);
variables.Add(aspnetVersionVariableInfo);
}

if (imageData.Version.Major >= 5)
{
variables.Add(RuntimeImageTests.GetRuntimeVersionVariableInfo(imageData, DockerHelper));
variables.Add(RuntimeImageTests.GetRuntimeVersionVariableInfo(imageData, DockerHelper));
}

base.VerifyCommonEnvironmentVariables(imageData, variables);
Expand Down
2 changes: 1 addition & 1 deletion tests/Microsoft.DotNet.Docker.Tests/RuntimeImageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void VerifyEnvironmentVariables(ProductImageData imageData)

if (imageData.Version.Major >= 5 || (imageData.Version.Major == 2 && DockerHelper.IsLinuxContainerModeEnabled))
{
variables.Add(GetRuntimeVersionVariableInfo(imageData, DockerHelper));
variables.Add(GetRuntimeVersionVariableInfo(imageData, DockerHelper));
}

base.VerifyCommonEnvironmentVariables(imageData, variables);
Expand Down
8 changes: 4 additions & 4 deletions tests/Microsoft.DotNet.Docker.Tests/SdkImageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ public void VerifyEnvironmentVariables(ProductImageData imageData)

if (imageData.Version.Major >= 5 || (imageData.Version.Major == 2 && DockerHelper.IsLinuxContainerModeEnabled))
{
string version = imageData.GetProductVersion(ImageType, DockerHelper);
variables.Add(new EnvironmentVariableInfo("DOTNET_SDK_VERSION", version));
string version = imageData.GetProductVersion(ImageType, DockerHelper);
variables.Add(new EnvironmentVariableInfo("DOTNET_SDK_VERSION", version));
}

if (imageData.Version.Major >= 5)
{
variables.Add(AspnetImageTests.GetAspnetVersionVariableInfo(imageData, DockerHelper));
variables.Add(RuntimeImageTests.GetRuntimeVersionVariableInfo(imageData, DockerHelper));
variables.Add(AspnetImageTests.GetAspnetVersionVariableInfo(imageData, DockerHelper));
variables.Add(RuntimeImageTests.GetRuntimeVersionVariableInfo(imageData, DockerHelper));
}

if (imageData.SdkOS.StartsWith(OS.AlpinePrefix))
Expand Down

0 comments on commit 47f8341

Please sign in to comment.