mirror of
https://github.com/actions/runner-images.git
synced 2026-01-05 09:44:38 +08:00
fix spacing
This commit is contained in:
@@ -88,8 +88,8 @@ function ShouldReturnZeroExitCode {
|
||||
|
||||
if (-not $succeeded)
|
||||
{
|
||||
$CommandResultIndent = " " * 4
|
||||
$commandOutput = ($result.Output | ForEach-Object { "${CommandResultIndent}${_}" }) -join "`n"
|
||||
$сommandOutputIndent = " " * 4
|
||||
$commandOutput = ($result.Output | ForEach-Object { "${сommandOutputIndent}${_}" }) -join "`n"
|
||||
$failureMessage = "Command '${ActualValue}' has finished with exit code ${actualExitCode}`n${commandOutput}"
|
||||
}
|
||||
|
||||
|
||||
@@ -9,12 +9,12 @@ Describe "Java" {
|
||||
}
|
||||
|
||||
It "<ToolName>" -TestCases @(
|
||||
@{ ToolName = "java" }
|
||||
@{ ToolName = "mvn" }
|
||||
@{ ToolName = "ant" }
|
||||
@{ ToolName = "gradle" }
|
||||
@{ ToolName = "java" }
|
||||
@{ ToolName = "mvn" }
|
||||
@{ ToolName = "ant" }
|
||||
@{ ToolName = "gradle" }
|
||||
) {
|
||||
"$ToolName -version" | Should -ReturnZeroExitCode
|
||||
"$ToolName -version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
It "Java <Version>" -TestCases @(
|
||||
|
||||
Reference in New Issue
Block a user