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:
parent
4e9e230e34
commit
70dc23f996
3 changed files with 61 additions and 20 deletions
|
@ -136,9 +136,6 @@ std::string serializeJsonString(const std::string &plain)
|
|||
case '\\':
|
||||
os << "\\\\";
|
||||
break;
|
||||
case '/':
|
||||
os << "\\/";
|
||||
break;
|
||||
case '\b':
|
||||
os << "\\b";
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue