Skip to content

Commit 45c102d

Browse files
committed
Don't use cabal-version: >= 99999 in test-cases
Since we now reject unknown spec-versions in the solver, these test-cases were broken; this replaces the 2 occurences by `cabal-version: 2.0` instead.
1 parent f9e2057 commit 45c102d

File tree

5 files changed

+2
-5
lines changed

5 files changed

+2
-5
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# cabal new-build
2-
Warning: <ROOT>/custom-setup-without-cabal.cabal: This package requires at least Cabal version 99999
32
Resolving dependencies...
43
In order, the following will be built:
54
- custom-setup-without-cabal-1.0 (lib:custom-setup-without-cabal) (first run)

cabal-testsuite/PackageTests/CustomWithoutCabal/custom-setup-without-cabal.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
cabal-version: 2.0
12
name: custom-setup-without-cabal
23
version: 1.0
34
build-type: Custom
4-
cabal-version: >= 99999
55

66
custom-setup
77
setup-depends: base

cabal-testsuite/PackageTests/Regression/T3436/cabal.out

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# cabal new-build
2-
Warning: <ROOT>/custom-setup/custom-setup.cabal: This package requires at least Cabal version 99999
32
Resolving dependencies...
43
In order, the following will be built:
54
- Cabal-99999 (lib:Cabal) (first run)

cabal-testsuite/PackageTests/Regression/T3436/custom-setup/custom-setup.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
cabal-version: 2.0
12
name: custom-setup
23
version: 1.0
34
build-type: Custom
4-
cabal-version: >= 99999
55

66
custom-setup
77
setup-depends: base, Cabal >= 99999

cabal-testsuite/PackageTests/Regression/T3436/sandbox.out

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Installing library in <PATH>
1010
Installed Cabal-99998
1111
# cabal sandbox add-source
1212
# cabal install
13-
Warning: custom-setup/custom-setup.cabal: This package requires at least Cabal version 99999
1413
Resolving dependencies...
1514
Configuring Cabal-99999...
1615
Preprocessing library for Cabal-99999..

0 commit comments

Comments
 (0)