Reimplement `cabal check` (#8427)
[cabal.git] / cabal-testsuite / PackageTests / Backpack / Includes3 / setup-internal.test.hs
blob7cecb11eb670fdfd3efdde9cc54a17f5e6fd499c
1 import Test.Cabal.Prelude
2 main = setupAndCabalTest $ do
3 skipUnlessGhcVersion ">= 8.1"
4 withPackageDb $ do
5 setup_install []
6 _ <- runM "touch" ["repo/indef-0.1.0.0/Foo.hs"] Nothing
7 setup "build" []
8 runExe' "exe" [] >>= assertOutputContains "fromList [(0,2),(2,4)]"