mirror of
https://github.com/nlohmann/json.git
synced 2026-02-20 03:12:13 +00:00
🏗️ adding anonymous namespace
This commit is contained in:
@@ -36,6 +36,8 @@ using nlohmann::json;
|
||||
|
||||
#include <sstream>
|
||||
|
||||
namespace
|
||||
{
|
||||
void check_escaped(const char* original, const char* escaped = "", const bool ensure_ascii = false);
|
||||
void check_escaped(const char* original, const char* escaped, const bool ensure_ascii)
|
||||
{
|
||||
@@ -44,6 +46,7 @@ void check_escaped(const char* original, const char* escaped, const bool ensure_
|
||||
s.dump_escaped(original, ensure_ascii);
|
||||
CHECK(ss.str() == escaped);
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("convenience functions")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user