diff options
author | sfan5 <sfan5@live.de> | 2022-05-01 13:43:29 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-05-21 17:46:10 +0200 |
commit | 70dc23f996683a59dd85db74e8f15e49c4f7b9fd (patch) | |
tree | 33a320c9d009303d841f266609c3947bf5ea7465 /src/util | |
parent | 4e9e230e34912d08ec0f0fc01d14ef80654c7cac (diff) | |
download | minetest-70dc23f996683a59dd85db74e8f15e49c4f7b9fd.tar.gz minetest-70dc23f996683a59dd85db74e8f15e49c4f7b9fd.tar.bz2 minetest-70dc23f996683a59dd85db74e8f15e49c4f7b9fd.zip |
Improve testSerializeJsonString unit tests
this also removes the requirement that / is escaped, there is
no reason for doing so.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/serialize.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/serialize.cpp b/src/util/serialize.cpp index 281061229..32e0a8936 100644 --- a/src/util/serialize.cpp +++ b/src/util/serialize.cpp @@ -136,9 +136,6 @@ std::string serializeJsonString(const std::string &plain) case '\\': os << "\\\\"; break; - case '/': - os << "\\/"; - break; case '\b': os << "\\b"; break; |