Skip to content

Commit ef994c5

Browse files
committed
tests: Fixes to expected message strings
These fixes are require due to improvements in solver error reporting.
1 parent c0c546f commit ef994c5

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ tests =
208208
solverSuccess [("base", 1), ("ghc-prim", 1), ("integer-gmp", 1), ("integer-simple", 1)]
209209
, runTest $
210210
mkTest dbNonupgrade "Refuse to install newer ghc requested by another library" ["A"] $
211-
solverFailure (isInfixOf "rejecting: ghc-2.0.0 (constraint from non-reinstallable package requires installed instance)")
211+
solverFailure (isInfixOf "rejecting: ghc-1.0.0/installed-1 (conflict: A => ghc==2.0.0)")
212212
]
213213
, testGroup
214214
"reject-unconstrained"

0 commit comments

Comments
 (0)