1 import Test
.Cabal
.Prelude
2 -- Test that `cabal haddock --disable-documention` works as expected and leads
3 -- to a warning if a local package makes an outer reference.
4 main
= cabalTest
. withRepo
"repo" $ do
5 r
<- cabal
' "haddock" ["--disable-documentation", "B"]
6 assertOutputContains
"Warning: B: could not find link destinations for" r