1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Improve testSerializeJsonString unit tests

this also removes the requirement that / is escaped, there is
no reason for doing so.
This commit is contained in:
sfan5 2022-05-01 13:43:29 +02:00
parent 4e9e230e34
commit 70dc23f996
3 changed files with 61 additions and 20 deletions

View file

@ -136,9 +136,6 @@ std::string serializeJsonString(const std::string &plain)
case '\\':
os << "\\\\";
break;
case '/':
os << "\\/";
break;
case '\b':
os << "\\b";
break;