File tree 10 files changed +0
-30
lines changed
cabal-testsuite/PackageTests/NewBuild
10 files changed +0
-30
lines changed Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
3
3
main = cabalTest . void $ do
4
- isWin <- isWindows
5
- ghc94 <- isGhcVersion " == 9.4.*"
6
- expectBrokenIf (isWin && ghc94) 8451 $ do
7
4
cabal' " v2-build" [" script.hs" ]
8
5
9
6
env <- getTestEnv
Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
3
3
main = cabalTest . void $ do
4
- isWin <- isWindows
5
- ghc94 <- isGhcVersion " == 9.4.*"
6
- expectBrokenIf (isWin && ghc94) 8451 $ do
7
4
cabal' " v2-build" [" script.hs" ]
8
5
cabalWithStdin " v2-repl" [" script.hs" ] " "
Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
3
3
main = cabalTest . void $ do
4
- isWin <- isWindows
5
- ghc94 <- isGhcVersion " == 9.4.*"
6
- expectBrokenIf (isWin && ghc94) 8451 $ do
7
4
cabal' " v2-build" [" script.hs" ]
8
5
cabal' " v2-run" [" script.hs" ]
Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
3
3
main = cabalTest . void $ do
4
- isWin <- isWindows
5
- ghc94 <- isGhcVersion " == 9.4.*"
6
- expectBrokenIf (isWin && ghc94) 8451 $ do
7
4
cabal' " v2-build" [" script.hs" ]
8
5
cabal' " v2-build" [" script.hs" ]
Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ import Test.Cabal.Prelude
2
2
import System.Directory (copyFile , removeFile )
3
3
4
4
main = cabalTest . void $ do
5
- isWin <- isWindows
6
- ghc94 <- isGhcVersion " == 9.4.*"
7
- expectBrokenIf (isWin && ghc94) 8451 $ do
8
5
env <- getTestEnv
9
6
let td = testCurrentDir env
10
7
Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ import Test.Cabal.Prelude
2
2
import System.Directory (copyFile , removeFile )
3
3
4
4
main = cabalTest . void $ do
5
- isWin <- isWindows
6
- ghc94 <- isGhcVersion " == 9.4.*"
7
- expectBrokenIf (isWin && ghc94) 8451 $ do
8
5
env <- getTestEnv
9
6
let td = testCurrentDir env
10
7
Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
3
3
main = cabalTest . void $ do
4
- isWin <- isWindows
5
- ghc94 <- isGhcVersion " == 9.4.*"
6
- expectBrokenIf (isWin && ghc94) 8451 $ do
7
4
cabal' " v2-build" [" script.hs" ]
8
5
cabal' " v2-clean" [" script.hs" ]
9
6
Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
3
3
main = cabalTest $ do
4
- isWin <- isWindows
5
- ghc94 <- isGhcVersion " == 9.4.*"
6
- expectBrokenIf (isWin && ghc94) 8451 $ do
7
4
res <- cabal' " v2-run" [" script.hs" ]
8
5
assertOutputContains " Hello World" res
9
6
Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
3
3
main = cabalTest $ do
4
- isWin <- isWindows
5
- ghc94 <- isGhcVersion " == 9.4.*"
6
- expectBrokenIf (isWin && ghc94) 8451 $ do
7
4
res <- cabal' " v2-run" [" script.lhs" ]
8
5
assertOutputContains " Hello World" res
Original file line number Diff line number Diff line change 1
1
import Test.Cabal.Prelude
2
2
3
3
main = cabalTest . void $ do
4
- isWin <- isWindows
5
- ghc94 <- isGhcVersion " == 9.4.*"
6
- expectBrokenIf (isWin && ghc94) 8451 $ do
7
4
cabal' " v2-run" [" script.hs" ]
8
5
cabal' " v2-run" [" script.hs" ]
You can’t perform that action at this time.
0 commit comments