Skip to content

Commit ed80f71

Browse files
committed
Added "rejecting:" bits
1 parent 1a74e4d commit ed80f71

File tree

1 file changed

+3
-3
lines changed
  • cabal-install/tests/UnitTests/Distribution/Solver/Modular

1 file changed

+3
-3
lines changed

cabal-install/tests/UnitTests/Distribution/Solver/Modular/Solver.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ tests = [
154154
, runTest $ allowBootLibInstalls $ mkTest dbBase "Install base with --allow-boot-library-installs" ["base"] $
155155
solverSuccess [("base", 1), ("ghc-prim", 1), ("integer-gmp", 1), ("integer-simple", 1)]
156156
, runTest $ mkTest dbNonupgrade "Refuse to install newer ghc requested by another library" ["A"] $
157-
solverFailure (isInfixOf "constraint from non-upgradeable package requires installed instance")
157+
solverFailure (isInfixOf "rejecting: ghc-2.0.0 (constraint from non-upgradeable package requires installed instance)")
158158
, runTest $ mkTest dbNonupgrade "Refuse to install newer ghci requested by another library" ["B"] $
159-
solverFailure (isInfixOf "constraint from non-upgradeable package requires installed instance")
159+
solverFailure (isInfixOf "rejecting: ghci-2.0.0 (constraint from non-upgradeable package requires installed instance)")
160160
, runTest $ mkTest dbNonupgrade "Refuse to install newer ghc-boot requested by another library" ["C"] $
161-
solverFailure (isInfixOf "constraint from non-upgradeable package requires installed instance")
161+
solverFailure (isInfixOf "rejecting: ghc-boot-2.0.0 (constraint from non-upgradeable package requires installed instance)")
162162
]
163163
, testGroup "reject-unconstrained" [
164164
runTest $ onlyConstrained $ mkTest db12 "missing syb" ["E"] $

0 commit comments

Comments
 (0)