diff options
| author | Stefan Boberg <[email protected]> | 2022-04-05 15:58:41 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2022-04-05 15:58:41 +0200 |
| commit | ca6516d1b552c5d6959aac3abc84cf3ee02393b6 (patch) | |
| tree | be3559834a28603871d79bdb0f6332d9b09349b2 /zencore/sha1.cpp | |
| parent | Fix gc shutdown stalling if shutting down while gc is running (diff) | |
| download | zen-ca6516d1b552c5d6959aac3abc84cf3ee02393b6.tar.xz zen-ca6516d1b552c5d6959aac3abc84cf3ee02393b6.zip | |
Added option to use Catch2 framework for tests
Diffstat (limited to 'zencore/sha1.cpp')
| -rw-r--r-- | zencore/sha1.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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") { |