summaryrefslogtreecommitdiff
path: root/test/buildtool/crypto/hasher.test.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 13:25:41 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 15:41:50 +0200
commit0e024eb055e6e8272f419e898ae9eefd0085c34f (patch)
treeb88ac4fe8c728631b53c424a8dab8c5a2f1577c6 /test/buildtool/crypto/hasher.test.cpp
parenta050cfe72b6bc02a8df2cdeefa739931983462a7 (diff)
downloadjustbuild-0e024eb055e6e8272f419e898ae9eefd0085c34f.tar.gz
Name value template parameters using kCamelCase.
Diffstat (limited to 'test/buildtool/crypto/hasher.test.cpp')
-rw-r--r--test/buildtool/crypto/hasher.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildtool/crypto/hasher.test.cpp b/test/buildtool/crypto/hasher.test.cpp
index 8414cc81..8ace48ce 100644
--- a/test/buildtool/crypto/hasher.test.cpp
+++ b/test/buildtool/crypto/hasher.test.cpp
@@ -19,9 +19,9 @@
#include "catch2/catch_test_macros.hpp"
-template <Hasher::HashType type>
+template <Hasher::HashType kType>
void test_increment_hash(std::string const& bytes, std::string const& result) {
- auto hasher = Hasher::Create(type);
+ auto hasher = Hasher::Create(kType);
REQUIRE(hasher.has_value());
hasher->Update(bytes.substr(0, bytes.size() / 2));
hasher->Update(bytes.substr(bytes.size() / 2));