Reimplement `cabal check` (#8427)
[cabal.git] / cabal-testsuite / PackageTests / BuildDeps / InternalLibrary2 / setup.test.hs
blobe36e33823d236937ee9ca710a70e48b30ebce1de
1 import Test.Cabal.Prelude
2 main = setupAndCabalTest . withPackageDb $ do
3 withDirectory "to-install" $ setup_install []
4 setup_build []
5 r <- runExe' "lemon" []
6 assertEqual
7 ("executable should have linked with the internal library")
8 ("foo foo myLibFunc internal")
9 (concatOutput (resultOutput r))