Unverified Commit 9c31d9c7 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo Committed by GitHub

Merge pull request #6058 from erikd/erikd/enable-tests-error-msg

Improve error message for 'new-test' command
parents 65ab5c14 0ce6ba9f
......@@ -305,6 +305,8 @@ renderTargetProblemNoneEnabled verb targetSelector targets =
++ plural (listPlural targets') " is " " are "
++ "not available because the solver did not find a plan that "
++ "included the " ++ renderOptionalStanza Plural stanza
++ ". Force the solver to enable this for all packages by adding the "
++ "line 'tests: True' to the 'cabal.project.local' file."
(TargetNotBuildable, _) ->
renderListCommaAnd
[ "the " ++ showComponentName availableTargetComponentName
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment