Skip to content

Commit 9623571

Browse files
committed
Update some tests
1 parent bd2daf8 commit 9623571

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/basic.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ end
187187
@test dict["name"] == "$(name)_jll"
188188
@test dict["version"] == "1.0.0"
189189
@test dict["uuid"] == "8fcd9439-76b0-55f4-a525-bad0597c05d8"
190-
@test dict["compat"] == Dict{String,Any}("julia" => "1.0", "JLLWrappers" => "1.2.0")
190+
@test dict["compat"] == Dict{String,Any}("julia" => "1.0", "JLLWrappers" => "1.4.0")
191191
@test all(in.(
192192
(
193193
"Pkg" => "44cfe95a-1eb2-52ea-b672-e2afdf69b78f",
@@ -212,10 +212,10 @@ end
212212

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

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

220220
@test_throws ErrorException build_project_dict(name, version, dependencies, "nonsense")
221221

test/jll.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module TestJLL end
1818
"XZ_jll" => "ffd25f8a-64ca-5728-b0f7-c24cf3aae800")
1919
@test project["name"] == "LibFoo_jll"
2020
@test project["uuid"] == "b250f842-3251-58d3-8ee4-9a24ab2bab3f"
21-
@test project["compat"] == Dict("julia" => "1.0", "XZ_jll" => "=2.4.6", "JLLWrappers" => "1.2.0")
21+
@test project["compat"] == Dict("julia" => "1.0", "XZ_jll" => "=2.4.6", "JLLWrappers" => "1.4.0")
2222
@test project["version"] == "1.3.5"
2323
# Make sure BuildDependency's don't find their way to the project
2424
@test_throws MethodError build_project_dict("LibFoo", v"1.3.5", [Dependency("Zlib_jll"), BuildDependency("Xorg_util_macros_jll")])

0 commit comments

Comments
 (0)