Add a check of the current behaviour importing duplicates
[cabal.git] / cabal-testsuite / PackageTests / SDist / Respect-Project-File / Projects-Default-Yes / cabal.project.test.hs
blob81b6cc511b172ee7bb07d89d89e7bd4bfdd145c4
1 import Test.Cabal.Prelude
3 -- The given cabal.project has has "packages: p/ q/" and "cabal sdist" writes
4 -- sdist/p-0.1.tar.gz and sdist/q-0.1.tar.gz. This is correct but likely
5 -- accidental as the default cabal.project has the same packages.
6 main = cabalTest . withProjectFile "cabal.project" $ do
7 cabal "sdist" ["all"]