Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / ReexportedModules / setup-fail-ambiguous.test.hs
blobc3e2d2045643a1bb07a29b6c2021ea8d573f2ef9
1 import Test.Cabal.Prelude
2 main = setupAndCabalTest $ do
3 skipUnlessGhcVersion ">= 7.9"
4 withPackageDb $ do
5 withDirectory "containers-dupe" $
6 setup_install []
7 withDirectory "p-fail-ambiguous" $ do
8 r <- fails $ setup' "configure" []
9 assertOutputContains "Data.Map" r