From ca6516d1b552c5d6959aac3abc84cf3ee02393b6 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Tue, 5 Apr 2022 15:58:41 +0200 Subject: Added option to use Catch2 framework for tests --- zencore/sha1.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'zencore/sha1.cpp') diff --git a/zencore/sha1.cpp b/zencore/sha1.cpp index 66e01f232..3ee74d7d8 100644 --- a/zencore/sha1.cpp +++ b/zencore/sha1.cpp @@ -364,14 +364,14 @@ sha1_forcelink() { } -doctest::String -toString(const SHA1& value) -{ - char sha1text[2 * sizeof(SHA1) + 1]; - value.ToHexString(sha1text); - - return sha1text; -} +// doctest::String +// toString(const SHA1& value) +// { +// char sha1text[2 * sizeof(SHA1) + 1]; +// value.ToHexString(sha1text); + +// return sha1text; +// } TEST_CASE("SHA1") { -- cgit v1.2.3