Skip to content

Commit 6daec22

Browse files
giordanovchuravy
authored andcommitted
Update some tests
1 parent fa6348c commit 6daec22

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
@@ -24,7 +24,7 @@ module TestJLL end
2424
"Scratch" => "6c6a2e73-6563-6170-7368-637461726353")
2525
@test project["name"] == "LibFoo_jll"
2626
@test project["uuid"] == "b250f842-3251-58d3-8ee4-9a24ab2bab3f"
27-
@test project["compat"] == Dict("julia" => "1.0", "XZ_jll" => "=2.4.6", "JLLWrappers" => "1.2.0")
27+
@test project["compat"] == Dict("julia" => "1.0", "XZ_jll" => "=2.4.6", "JLLWrappers" => "1.4.0")
2828
@test project["version"] == "1.3.5"
2929
# Make sure BuildDependency's don't find their way to the project
3030
@test_throws MethodError build_project_dict("LibFoo", v"1.3.5", [Dependency("Zlib_jll"), BuildDependency("Xorg_util_macros_jll")])

0 commit comments

Comments
 (0)