Skip to content

Commit 024a90d

Browse files
authored
When yanking a version, only yanked = true is correct; yank = true (and other variants) are incorrect, so we should detect them
1 parent 3082b39 commit 024a90d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/registry_testing.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ function test(path=pwd(); registry_deps::Vector{<:AbstractString}=String[])
172172
for (v, data) in vers
173173
Test.@test VersionNumber(v) isa VersionNumber
174174
Test.@test haskey(data, "git-tree-sha1")
175+
176+
# https://github.com/JuliaRegistries/RegistryCI.jl/issues/523
177+
# "yanked" is correct.
178+
# "yank" (and all other variants) are incorrect.
179+
Test.@test keys(data) ["git-tree-sha1", "yanked"]
175180
end
176181

177182
# Deps.toml testing

0 commit comments

Comments
 (0)