summaryrefslogtreecommitdiff
path: root/test/end-to-end/just-mr/create_test_archives.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-08-10 15:44:16 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-08-14 15:09:11 +0200
commita9694ba06acc9ea225f83bbd31f93cbedec4ff0c (patch)
treea6ae896c965c6d99052167bba3ccbd22948730ca /test/end-to-end/just-mr/create_test_archives.cpp
parentaee1a0c7df5b86c08c4ac3188b3635f8f9879129 (diff)
downloadjustbuild-a9694ba06acc9ea225f83bbd31f93cbedec4ff0c.tar.gz
ArchiveOps: reduce verbosity in archive type enum
Diffstat (limited to 'test/end-to-end/just-mr/create_test_archives.cpp')
-rw-r--r--test/end-to-end/just-mr/create_test_archives.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/end-to-end/just-mr/create_test_archives.cpp b/test/end-to-end/just-mr/create_test_archives.cpp
index 3fa6759a..f7223410 100644
--- a/test/end-to-end/just-mr/create_test_archives.cpp
+++ b/test/end-to-end/just-mr/create_test_archives.cpp
@@ -120,8 +120,8 @@ auto main() -> int {
auto anchor = FileSystemManager::ChangeDirectory(tmp_dir->GetPath());
// 2. create the archives wrt to current directory
std::optional<std::string> res{std::nullopt};
- res = ArchiveOps::CreateArchive(
- ArchiveType::kArchiveTypeZip, "zip_repo.zip", "root");
+ res =
+ ArchiveOps::CreateArchive(ArchiveType::Zip, "zip_repo.zip", "root");
if (res) {
Logger::Log(LogLevel::Error,
"Creating test zip archive failed with:\n{}",
@@ -129,7 +129,7 @@ auto main() -> int {
return 1;
}
res = ArchiveOps::CreateArchive(
- ArchiveType::kArchiveTypeTarGz, "tgz_repo.tar.gz", "root");
+ ArchiveType::TarGz, "tgz_repo.tar.gz", "root");
if (res) {
Logger::Log(LogLevel::Error,
"Creating test tar.gz archive failed with:\n{}",