diff --git a/repertory/repertory_test/src/utils_test.cpp b/repertory/repertory_test/src/utils_test.cpp index c507b808..100cdadc 100644 --- a/repertory/repertory_test/src/utils_test.cpp +++ b/repertory/repertory_test/src/utils_test.cpp @@ -49,6 +49,9 @@ TEST(utils, convert_api_date) { TEST(utils, generate_sha256) { auto res = utils::file::file{__FILE__}.sha256(); - std::cout << res << std::endl; + EXPECT_TRUE(res.has_value()); + if (res.has_value()) { + std::cout << res.value() << std::endl; + } } } // namespace repertory