Skip to content

Commit 78b4a37

Browse files
fix test_throws
1 parent 07f0cf9 commit 78b4a37

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/dependencies.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,9 @@ end
387387
dependencies = [
388388
PackageSpec(; name="CMake_jll", version = v"3.24.3")
389389
]
390-
@test_throws test_setup_dependencies(prefix, dependencies, platform)
390+
# Pkg needs improve its error message here, but assume that it will still throw a pkgerror
391+
# https://github.com/JuliaLang/Pkg.jl/issues/4159
392+
@test_throws PKG_VERSIONS.PkgError test_setup_dependencies(prefix, dependencies, platform)
391393
end
392394
end
393395
end

0 commit comments

Comments
 (0)