From 80e64bcd392f09b0243f4a299f2aece6c329d7cb Mon Sep 17 00:00:00 2001 From: alecloudenback Date: Sun, 9 Jul 2023 17:36:07 -0600 Subject: [PATCH] Clarify error with project missing attributes (#3528) --- src/API.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API.jl b/src/API.jl index 64f4890587..290da9b214 100644 --- a/src/API.jl +++ b/src/API.jl @@ -433,7 +433,7 @@ function test(ctx::Context, pkgs::Vector{PackageSpec}; Context!(ctx; kwargs...) if isempty(pkgs) - ctx.env.pkg === nothing && pkgerror("trying to test unnamed project") #TODO Allow this? + ctx.env.pkg === nothing && pkgerror("The Project.toml of the package being tested must have a name and a UUID entry") #TODO Allow this? push!(pkgs, ctx.env.pkg) else project_resolve!(ctx.env, pkgs)