diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.out b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.out index 803adf59737295a2ff89cdf4fb7e27a19514954a..35860753c7d85d91323ebbd2e58d39b420897f6d 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.out +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.out @@ -1,2 +1,2 @@ # cabal new-sdist -cabal: The package a-test cannot be packaged for distribution, because it is not local to this project. +cabal: The component test suite 'a-tests' cannot be packaged for distribution on its own. Only entire packages may be packaged for distribution. diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.test.hs b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.test.hs index e4d259d7837683f852e8143f4ab08a923efd0af8..b500b3fd63a7b648ab759b7332d470444488e6b9 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.test.hs +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.test.hs @@ -1,6 +1,6 @@ import Test.Cabal.Prelude main = cabalTest $ withSourceCopy $ do cwd <- fmap testCurrentDir getTestEnv - fails $ cabal "new-sdist" ["a", "b", "a-test"] + fails $ cabal "new-sdist" ["a", "b", "a-tests"] shouldNotExist $ cwd </> "dist-newstyle/sdist/a-0.1.tar.gz" shouldNotExist $ cwd </> "dist-newstyle/sdist/b-0.1.tar.gz"