summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_engine/executor/executor.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp')
-rw-r--r--test/buildtool/execution_engine/executor/executor.test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp
index 6a71f497..dcdfd2dd 100644
--- a/test/buildtool/execution_engine/executor/executor.test.cpp
+++ b/test/buildtool/execution_engine/executor/executor.test.cpp
@@ -273,8 +273,8 @@ TEST_CASE("Executor: Process artifact", "[executor]") {
auto [config, repo_config] = CreateTest(&g, workspace_path);
HashFunction const hash_function{Compatibility::IsCompatible()
- ? HashFunction::JustHash::Compatible
- : HashFunction::JustHash::Native};
+ ? HashFunction::Type::PlainSHA256
+ : HashFunction::Type::GitSHA1};
auto const local_cpp_id =
ArtifactDescription::CreateLocal("local.cpp", "").Id();
@@ -360,8 +360,8 @@ TEST_CASE("Executor: Process action", "[executor]") {
auto [config, repo_config] = CreateTest(&g, workspace_path);
HashFunction const hash_function{Compatibility::IsCompatible()
- ? HashFunction::JustHash::Compatible
- : HashFunction::JustHash::Native};
+ ? HashFunction::Type::PlainSHA256
+ : HashFunction::Type::GitSHA1};
auto const local_cpp_id =
ArtifactDescription::CreateLocal("local.cpp", "").Id();