Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Jan 30, 2024
1 parent af2e8c7 commit 1042ea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ end
project = read_project(joinpath(@__DIR__(), "..", "Project.toml"))
artifacts = Artifacts.parse_toml(artifact_toml)

@test artifacts["tzjdata"]["git-tree-sha1"] == tree_hash_sha1(tarball_path)
@test artifacts["tzjdata"]["git-tree-sha1"] == string(tree_hash_sha1(tarball_path))
@test length(artifacts["tzjdata"]["download"]) == 1
@test artifacts["tzjdata"]["download"][1]["sha256"] == string(sha256sum(tarball_path))
@test artifacts["tzjdata"]["download"][1]["sha256"] == sha256sum(tarball_path)

url = artifacts["tzjdata"]["download"][1]["url"]
@test contains(url, "/v$(project.version)/")
Expand Down

0 comments on commit 1042ea1

Please sign in to comment.