Skip to content

Commit 02f3df8

Browse files
committed
Fix @artifact_str invocation
We must provide the `platform` argument here before we provide the `artifacts_toml_path` argument.
1 parent 05dcc5b commit 02f3df8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Artifacts/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ end
9191
HelloWorldC_exe_path = joinpath(HelloWorldC_dir, "bin", "hello_world$(exeext)")
9292
@test isfile(HelloWorldC_exe_path)
9393

94-
HelloWorldC_dir_explicit_artifact = eval(:(@artifact_str "HelloWorldC" joinpath(@__DIR__, "Artifacts.toml")))
94+
HelloWorldC_dir_explicit_artifact = eval(:(@artifact_str "HelloWorldC" nothing joinpath(@__DIR__, "Artifacts.toml")))
9595
@test isdir(HelloWorldC_dir_explicit_artifact)
9696

9797
# Simple slash-indexed lookup

0 commit comments

Comments
 (0)