mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
fixed haskell tests
This commit is contained in:
@@ -7,15 +7,15 @@ Describe "Git" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
It "Toolname '<toolName>' is installed" -TestCases $gitTestCases {
|
It "<toolName> is installed" -TestCases $gitTestCases {
|
||||||
"$toolName --version" | Should -ReturnZeroExitCode
|
"$toolName --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
It "ToolName '<toolName>' is located in '<source>'" -TestCases $gitTestCases {
|
It "<toolName> is located in '<source>'" -TestCases $gitTestCases {
|
||||||
(Get-Command -Name $toolName).Source | Should -Match $source
|
(Get-Command -Name $toolName).Source | Should -Match $source
|
||||||
}
|
}
|
||||||
|
|
||||||
It "ToolName 'hub' is installed" {
|
It "hub is installed" {
|
||||||
"hub --version" | Should -ReturnZeroExitCode
|
"hub --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user