1 import Test
.Cabal
.Prelude
2 -- Test that we can resolve a module name ambiguity when reexporting
3 -- by explicitly specifying what package we want.
4 main
= setupAndCabalTest
$ do
5 skipUnlessGhcVersion
">= 7.9"
7 withDirectory
"p" $ setup_install
[]
8 withDirectory
"q" $ setup_install
[]
9 withDirectory
"reexport" $ setup_install
[]
10 withDirectory
"reexport-test" $ do
12 runExe
' "reexport-test" [] >>= assertOutputContains
"p q"