Skip to content

Commit 55a0721

Browse files
authored
[Windows] Update cabal pester test (#5121)
* [Windows] Update cabal pester test * Add CABAL_DIR test
1 parent bb7ee95 commit 55a0721

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

images/win/scripts/Tests/Haskell.Tests.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,12 @@ Describe "Haskell" {
4949
"cabal --version" | Should -ReturnZeroExitCode
5050
}
5151

52-
It "cabal config was modified and exists" {
53-
$env:CABAL_DIR | Should -Exist
54-
"cabal user-config diff" | Should -ReturnZeroExitCode
52+
It "cabal folder does not exist" {
53+
$env:CABAL_DIR | Should -Not -Exist
54+
}
55+
56+
It "CABAL_DIR environment variable exists" {
57+
Get-EnvironmentVariable CABAL_DIR | Should -BeExactly "C:\cabal"
5558
}
5659

5760
It "ghcup is installed" {

0 commit comments

Comments
 (0)