(cabal check) Add "No duplicate names" test
[cabal.git] / cabal-testsuite / PackageTests / Freeze / enable-benchmarks.test.hs
blobd525c1d26fffaff1d6682bcf548c95959f72e6ea
1 import Test.Cabal.Prelude
2 main = cabalTest $ do
3 withRepo "repo" . withSourceCopy $ do
4 cabal "v1-freeze" ["--enable-benchmarks"]
5 cwd <- fmap testCurrentDir getTestEnv
6 assertFileDoesContain (cwd </> "cabal.config") "criterion"
7 assertFileDoesContain (cwd </> "cabal.config") "ghc-prim"