Skip to content

Commit 193cb13

Browse files
authored
Fix some Pkg syntax for older Julia versions
1 parent 402ca81 commit 193cb13

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/runtests.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ ENV["JULIA_PKG_SERVER"] = ""
1818

1919
@static if Base.VERSION < v"1.11"
2020
# BrokenRecord fails to precompile on Julia 1.11
21-
Pkg.add(;
22-
name = "BrokenRecord",
23-
uuid = "bdd55f5b-6e67-4da1-a080-6086e55655a0",
24-
version = "0.1.9",
21+
Pkg.add(
22+
Pkg.PackageSpec(;
23+
name = "BrokenRecord",
24+
uuid = "bdd55f5b-6e67-4da1-a080-6086e55655a0",
25+
version = "0.1.9",
26+
)
2527
)
2628
import BrokenRecord
2729
end

0 commit comments

Comments
 (0)