(cabal check) Add "Autogen include" test for ts
[cabal.git] / cabal-testsuite / PackageTests / NewBuild / CmdRun / ExeAndLib / cabal.test.hs
blobc664ab54c8fe5bf061e5263a55f5762e33008551
1 import Test.Cabal.Prelude
2 import Control.Monad ( (>=>) )
3 main = cabalTest $ do
4 -- the exe
5 cabal' "v2-run" ["foo"] >>= assertOutputContains "Hello World"
6 -- the lib
7 fails (cabal' "v2-run" ["ExeAndLib"]) >>= assertOutputDoesNotContain "Hello World"