(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / Haddock / setup.test.hs
blobe9f25b013dc183c0f5e168c58ea2f1d19fad6d10
1 import Test.Cabal.Prelude
2 -- Test that "./Setup haddock" works correctly
3 main = setupAndCabalTest $ do
4 env <- getTestEnv
5 let haddocksDir = testDistDir env </> "doc" </> "html" </> "Haddock"
6 setup "configure" []
7 setup "haddock" []
8 let docFiles
9 = map (haddocksDir </>)
10 ["CPP.html", "Literate.html", "NoCPP.html", "Simple.html"]
11 mapM_ (assertFindInFile "For hiding needles.") docFiles