aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_hash.cpp')
-rw-r--r--src/tests/test_hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_hash.cpp b/src/tests/test_hash.cpp
index d37a9dc14..42ffcc11a 100644
--- a/src/tests/test_hash.cpp
+++ b/src/tests/test_hash.cpp
@@ -26,7 +26,7 @@ size_t hash_test(const std::string& algo,
if(providers.empty())
{
std::cout << "Unknown hash '" << algo << "'" << std::endl;
- ++fails;
+ return 0;
}
for(auto provider: providers)