1
0
mirror of https://github.com/nlohmann/json.git synced 2026-07-28 22:53:03 +04:00

🏗️ 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
+3 -2
View File
@@ -37,6 +37,8 @@ using nlohmann::json;
#include <iomanip>
#include <set>
namespace
{
class SaxCountdown
{
public:
@@ -106,6 +108,7 @@ class SaxCountdown
private:
int events_left = 0;
};
}
TEST_CASE("MessagePack")
{
@@ -1300,7 +1303,6 @@ TEST_CASE("MessagePack")
}
}
// use this testcase outside [hide] to run it with Valgrind
TEST_CASE("single MessagePack roundtrip")
{
@@ -1347,7 +1349,6 @@ TEST_CASE("single MessagePack roundtrip")
}
}
TEST_CASE("MessagePack roundtrips" * doctest::skip())
{
SECTION("input from msgpack-python")