Skip to content

Commit e4a8d33

Browse files
committed
fix tests
1 parent c41d1c1 commit e4a8d33

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

test/basic.jl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ end
199199
@test dict["name"] == "$(name)_jll"
200200
@test dict["version"] == "1.0.0"
201201
@test dict["uuid"] == "8fcd9439-76b0-55f4-a525-bad0597c05d8"
202-
@test dict["compat"] == Dict{String,Any}("julia" => "1.0", "JLLWrappers" => "1.4.0")
202+
@test dict["compat"] == Dict{String,Any}("julia" => "1.0", "JLLWrappers" => "1.2.0")
203203
@test all(in.(
204204
(
205205
"Pkg" => "44cfe95a-1eb2-52ea-b672-e2afdf69b78f",
@@ -224,13 +224,17 @@ end
224224

225225
# Ensure passing a Julia dependency bound works
226226
dict = build_project_dict(name, version, dependencies, "1.4")
227-
@test dict["compat"] == Dict{String,Any}("julia" => "1.4", "JLLWrappers" => "1.4.0")
227+
@test dict["compat"] == Dict{String,Any}("julia" => "1.4", "JLLWrappers" => "1.2.0")
228228

229229
dict = build_project_dict(name, version, dependencies, "~1.4")
230-
@test dict["compat"] == Dict{String,Any}("julia" => "~1.4", "JLLWrappers" => "1.4.0")
230+
@test dict["compat"] == Dict{String,Any}("julia" => "~1.4", "JLLWrappers" => "1.2.0")
231231

232232
@test_throws ErrorException build_project_dict(name, version, dependencies, "nonsense")
233233

234+
# Ensure passing a JLLWrappers dependency bound works
235+
dict = build_project_dict(name, version, dependencies; JLLWrappers="1.4.0")
236+
@test dict["compat"] == Dict{String,Any}("julia" => "1.0", "JLLWrappers" => "1.4.0")
237+
234238
# Ensure passing compat bounds works
235239
dependencies = [
236240
Dependency(PackageSpec(name="libLLVM_jll"), compat="=9.0.0"),

0 commit comments

Comments
 (0)