(cabal check) Add "Version signatures" test
[cabal.git] / cabal-testsuite / PackageTests / Ambiguity / setup-package-import.test.hs
blob50c09d00f4ab7314ff60eabf47124f7ccef03c34
1 import Test.Cabal.Prelude
2 -- Test that module name ambiguity can be resolved using package
3 -- qualified imports. (Paper Backpack doesn't natively support
4 -- this but we must!)
5 main = setupAndCabalTest $ do
6 withPackageDb $ do
7 withDirectory "p" $ setup_install []
8 withDirectory "q" $ setup_install []
9 withDirectory "package-import" $ do
10 setup_build []
11 runExe' "package-import" [] >>= assertOutputContains "p q"