aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/tests/hash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/tests/hash.cc')
-rw-r--r--src/libutil/tests/hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/tests/hash.cc b/src/libutil/tests/hash.cc
index c513ce4ac..5fd168be5 100644
--- a/src/libutil/tests/hash.cc
+++ b/src/libutil/tests/hash.cc
@@ -75,6 +75,6 @@ namespace nix {
TEST(hashString, hashingWithUnknownAlgoExits) {
auto s = "unknown";
- ASSERT_DEATH(hashString(HashType::Unknown, s), "");
+ ASSERT_DEATH(hashString(HashType::SHA512, s), "");
}
}