hackport-0.6.3: cabal/cabal-testsuite/PackageTests/Freeze/freeze.test.hs
import Test.Cabal.Prelude
main = cabalTest $ do
withRepo "repo" . withSourceCopy $ do
-- TODO: test this with a sandbox-installed package
-- that is not depended upon
cabal "v1-freeze" []
cwd <- fmap testCurrentDir getTestEnv
assertFileDoesNotContain (cwd </> "cabal.config") "exceptions"
assertFileDoesNotContain (cwd </> "cabal.config") "my"
assertFileDoesContain (cwd </> "cabal.config") "base"