import Test.Cabal.Prelude
main = setupAndCabalTest $ do
    skipUnlessGhcVersion ">= 8.1"
    withPackageDb $ do
      setup_install []
      _ <- runM "touch" ["repo/indef-0.1.0.0/Foo.hs"] Nothing
      setup "build" []
      runExe' "exe" [] >>= assertOutputContains "fromList [(0,2),(2,4)]"

