Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / Freeze / freeze.test.hs
blob2961a0e0055fb7a94a12e5adf094bce67d6b4bb7
1 import Test.Cabal.Prelude
2 main = cabalTest $ do
3 withRepo "repo" . withSourceCopy $ do
4 cabal "v1-freeze" []
5 cwd <- fmap testCurrentDir getTestEnv
6 assertFileDoesNotContain (cwd </> "cabal.config") "exceptions"
7 assertFileDoesNotContain (cwd </> "cabal.config") "my"
8 assertFileDoesContain (cwd </> "cabal.config") "base"