mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16: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
|
@ -80,7 +80,7 @@ class TestFailedException : public std::exception {
|
|||
<< #expected << std::endl \
|
||||
<< " at " << fs::GetFilenameFromPath(__FILE__) << ":" \
|
||||
<< __LINE__ << std::endl \
|
||||
<< " actual: " << a << std::endl << " expected: " \
|
||||
<< " actual : " << a << std::endl << " expected: " \
|
||||
<< e << std::endl; \
|
||||
throw TestFailedException(); \
|
||||
} \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue