This commit is contained in:
2024-08-08 19:03:55 -05:00
parent 0b5efef569
commit e1ac9efaaa
4 changed files with 10 additions and 10 deletions

View File

@ -131,7 +131,7 @@ TEST(utils_file, read_and_write_json_file_encrypted) {
decrypted_data));
EXPECT_STREQ(data.dump().c_str(),
nlohmann::json::parse(
std::string{decrypted_data.begin(), decrypted_data.end()})
std::string(decrypted_data.begin(), decrypted_data.end()))
.dump()
.c_str());
}