From 61cc2ab1350ccc4de32a25b2c189cead051474a3 Mon Sep 17 00:00:00 2001 From: Mike Date: Sun, 25 Oct 2020 09:55:09 +0000 Subject: [PATCH] Fix test issues on Julia 1.0. --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 916bef9..216bbe2 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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