Skip to content

Commit

Permalink
Remove debug code from SharedUtil.Tests.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Lpsd committed Nov 18, 2023
1 parent 1c4092b commit 682e87e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Shared/sdk/SharedUtil.Tests.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -961,17 +961,6 @@ void SharedUtil_Hash_Tests()

strResult = GenerateHashHexString(EHashFunction::MD5, a);
assert(strResult == result);
#ifdef MTA_CLIENT
auto mta_temp_path = GetMTATempPath();
const char* filename =
"hash_"
"\xD0"
"\x98"
"_test";
std::string filenamestr = std::string("hash_\xD0\x98_test");
SString filenamesstr = SString("%s\\%s", mta_temp_path, filenamestr);
std::string filepath = std::string(mta_temp_path) + std::string("\\") + filenamestr;
#endif
FileSave(tempFilepath, a);
strResult = GenerateHashHexStringFromFile(EHashFunction::MD5, tempFilepath);
assert(strResult == result);
Expand Down

0 comments on commit 682e87e

Please sign in to comment.