From 0ddc71475081683b59088fb7176385895a27894a Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 23 Aug 2024 19:15:44 -0500 Subject: [PATCH] fix test --- repertory/repertory_test/src/utils_test.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/repertory/repertory_test/src/utils_test.cpp b/repertory/repertory_test/src/utils_test.cpp index e57ef97b..c507b808 100644 --- a/repertory/repertory_test/src/utils_test.cpp +++ b/repertory/repertory_test/src/utils_test.cpp @@ -22,6 +22,7 @@ #include "test_common.hpp" #include "providers/s3/s3_provider.hpp" +#include "utils/file.hpp" namespace repertory { #if defined(_WIN32) @@ -46,8 +47,8 @@ TEST(utils, convert_api_date) { } #endif // defined(_WIN32) -// TEST(utils, generate_sha256) { -// const auto res = utils::file::generate_sha256(__FILE__); -// std::cout << res << std::endl; -// } +TEST(utils, generate_sha256) { + auto res = utils::file::file{__FILE__}.sha256(); + std::cout << res << std::endl; +} } // namespace repertory