fix spacing

This commit is contained in:
Maxim Lobanov
2020-07-09 14:09:44 +03:00
parent d693730c54
commit 9bd0f97777
2 changed files with 7 additions and 7 deletions

View File

@@ -88,8 +88,8 @@ function ShouldReturnZeroExitCode {
if (-not $succeeded) if (-not $succeeded)
{ {
$CommandResultIndent = " " * 4 $сommandOutputIndent = " " * 4
$commandOutput = ($result.Output | ForEach-Object { "${CommandResultIndent}${_}" }) -join "`n" $commandOutput = ($result.Output | ForEach-Object { "${сommandOutputIndent}${_}" }) -join "`n"
$failureMessage = "Command '${ActualValue}' has finished with exit code ${actualExitCode}`n${commandOutput}" $failureMessage = "Command '${ActualValue}' has finished with exit code ${actualExitCode}`n${commandOutput}"
} }

View File

@@ -9,12 +9,12 @@ Describe "Java" {
} }
It "<ToolName>" -TestCases @( It "<ToolName>" -TestCases @(
@{ ToolName = "java" } @{ ToolName = "java" }
@{ ToolName = "mvn" } @{ ToolName = "mvn" }
@{ ToolName = "ant" } @{ ToolName = "ant" }
@{ ToolName = "gradle" } @{ ToolName = "gradle" }
) { ) {
"$ToolName -version" | Should -ReturnZeroExitCode "$ToolName -version" | Should -ReturnZeroExitCode
} }
It "Java <Version>" -TestCases @( It "Java <Version>" -TestCases @(