Open
Description
Tests of the solver's current "rejecting" message would help us track progress on #4251. These tests could go in cabal-install/tests/UnitTests/Distribution/Solver/Modular/Solver.hs, where we already have tests for other messages, such as
cabal/cabal-install/tests/UnitTests/Distribution/Solver/Modular/Solver.hs
Lines 603 to 634 in d958545
Here are some cases to test:
- Rejecting multiple versions
- Rejecting versions that aren't in order, using preferences
- Rejecting source and installed versions
- Rejecting linked instances, using setup or build-tool dependencies