Merge pull request #10662 from haskell/ulysses4ever-prerelease-cleanup-fixup
[cabal.git] / cabal-testsuite / PackageTests / NewHaddock / DisableDoc / cabal.test.hs
blobd7d58cdb3f994fe379d63361f94af29eb7e2385e
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