mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
add assert MatchCommandOutput
This commit is contained in:
@@ -17,11 +17,11 @@ Describe "Haskell" {
|
||||
}
|
||||
|
||||
It "GHC <ghcVersion> is installed" -TestCases $ghcTestCases {
|
||||
& $binGhcPath --version | Should -Match $ghcVersion
|
||||
"$binGhcPath --version" | Should -MatchCommandOutput $ghcVersion
|
||||
}
|
||||
|
||||
It "GHC <defaultGhcVersion> is the default version and should be the latest installed" -TestCases @{defaultGhcVersion = $defaultGhcVersion} {
|
||||
ghc --version | Should -Match $defaultGhcVersion
|
||||
"ghc --version" | Should -MatchCommandOutput $defaultGhcVersion
|
||||
}
|
||||
|
||||
It "Cabal is installed" {
|
||||
|
||||
Reference in New Issue
Block a user