fix test
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user