1 import Test
.Cabal
.Prelude
2 -- See #4332, dep solving output is not deterministic
3 main
= cabalTest
. recordMode DoNotRecord
$ withRepo
"../repo" $ do
4 -- other-lib is a dependency, but it's not listed in cabal.project
5 res
<- fails
$ cabal
' "v2-build" ["all", "--dry-run"]
6 assertOutputContains
"not a user-provided goal" res