From dd23c6e397584f4bf1cf84a73d9c382a8ff81de7 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Fri, 5 Jul 2024 17:27:13 +0200 Subject: Pass HashFunction to ArtifactDigest::Create --- test/buildtool/file_system/object_cas.test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/buildtool/file_system/object_cas.test.cpp') diff --git a/test/buildtool/file_system/object_cas.test.cpp b/test/buildtool/file_system/object_cas.test.cpp index be9ba709..df72d038 100644 --- a/test/buildtool/file_system/object_cas.test.cpp +++ b/test/buildtool/file_system/object_cas.test.cpp @@ -30,7 +30,8 @@ TEST_CASE("ObjectCAS", "[file_system]") { auto gen_config = storage_config.Get().CreateGenerationConfig(0); std::string test_content{"test"}; - auto test_digest = ArtifactDigest::Create(test_content); + auto test_digest = ArtifactDigest::Create( + HashFunction::Instance(), test_content); SECTION("CAS for files") { ObjectCAS cas{gen_config.cas_f}; -- cgit v1.2.3