Reimplement `cabal check` (#8427)
[cabal.git] / cabal-testsuite / PackageTests / NewHaddock / HaddockOutput / HaddockForHackageCmdOutput / cabal.test.hs
blob00fcfe4b28e9da8ce0eb490791ac8e943bb4b713
1 import Test.Cabal.Prelude
3 -- Test that `cabal haddock --haddock-for-hackage` does not report that it
4 -- creates an `index.html` file.
5 main = cabalTest $ do
6 r <- cabal' "haddock" ["--haddock-for-hackage", "A"]
7 assertOutputDoesNotContain "index.html" r