🏗️ adding anonymous namespace

This commit is contained in:
Niels Lohmann
2019-04-04 08:56:36 +02:00
parent 0da99027b7
commit f05614b240
16 changed files with 51 additions and 8 deletions

View File

@@ -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")
{