-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfb8d57
commit 71399f4
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
@testset "checksums" begin | ||
checksum= spdxchecksum("SHA1", pkgdir(SPDX), String["SPDX.spdx.json"], String[".git"]) | ||
@test checksum isa Vector{UInt8} # No good way to indepently verify that the calculation is correct. | ||
verifcode= ComputePackageVerificationCode(pkgdir(SPDX), String["SPDX.spdx.json"], String[".git"]) | ||
@test verifcode isa SpdxPkgVerificationCodeV2 # No good way to indepently verify that the calculation is correct. | ||
|
||
checksum= ComputeFileChecksum("SHA256", joinpath(pkgdir(SPDX), "Project.toml")) | ||
@test checksum isa SpdxChecksumV2 # No good way to indepently verify that the calculation is correct. | ||
end |