Skip to content

Commit

Permalink
Fix test issues on Julia 1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHatherly committed Oct 25, 2020
1 parent 1201b09 commit 61cc2ab
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 @@ -14,11 +14,11 @@ struct CustomSignature <: AbstractSignature
end

function ProvenanceBase.signature(::Type{CustomSignature}, object, timestamp, data)
return CustomSignature(string(object, timestamp, data))
return CustomSignature(string(object, timestamp, repr(data)))
end

function ProvenanceBase.verify(object, p::Provenance{CustomSignature})
return string(object, p.timestamp, p.data) == p.signature.str
return string(object, p.timestamp, repr(p.data)) == p.signature.str
end

ProvenanceBase.is_signed(::Provenance{CustomSignature}) = true
Expand Down

2 comments on commit 61cc2ab

@MichaelHatherly
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/23625

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 61cc2ab1350ccc4de32a25b2c189cead051474a3
git push origin v0.1.0

Please sign in to comment.