summaryrefslogtreecommitdiff
path: root/test/buildtool/file_system/object_cas.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/file_system/object_cas.test.cpp')
-rw-r--r--test/buildtool/file_system/object_cas.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildtool/file_system/object_cas.test.cpp b/test/buildtool/file_system/object_cas.test.cpp
index 6f06eea4..1872f25b 100644
--- a/test/buildtool/file_system/object_cas.test.cpp
+++ b/test/buildtool/file_system/object_cas.test.cpp
@@ -34,7 +34,7 @@ TEST_CASE("ObjectCAS", "[file_system]") {
storage_config.Get().hash_function, test_content);
SECTION("CAS for files") {
- ObjectCAS<ObjectType::File> cas{storage_config.Get().hash_function,
+ ObjectCAS<ObjectType::File> cas{&storage_config.Get().hash_function,
gen_config.cas_f};
CHECK(not cas.BlobPath(test_digest));
@@ -74,7 +74,7 @@ TEST_CASE("ObjectCAS", "[file_system]") {
SECTION("CAS for executables") {
ObjectCAS<ObjectType::Executable> cas{
- storage_config.Get().hash_function, gen_config.cas_x};
+ &storage_config.Get().hash_function, gen_config.cas_x};
CHECK(not cas.BlobPath(test_digest));
SECTION("Add blob from bytes and verify") {