Add a check of the current behaviour importing duplicates
[cabal.git] / cabal-testsuite / PackageTests / SDist / Respect-Project-File / Projects-Default-Yes / cabal.no-project.test.hs
blobb25efe2a0d90039b59c4efaa1f858b1bf377ffd4
1 import Test.Cabal.Prelude
3 -- When no project is given, "cabal sdist" finds a default cabal.project that
4 -- has "packages: p/ q/" and writes sdist/p-0.1.tar.gz and sdist/q-0.1.tar.gz.
5 -- This is correct.
6 --
7 -- TODO: Check that the code is behaving the same as it would have if
8 -- "--project-file=cabal.project" was given or if it is using project probing.
9 main = cabalTest $ do
10 cabal "sdist" ["all"]