diff --git a/tests/src/unit-custom-integer.cpp b/tests/src/unit-custom-integer.cpp index 0e3baf440..101f76cca 100644 --- a/tests/src/unit-custom-integer.cpp +++ b/tests/src/unit-custom-integer.cpp @@ -94,11 +94,11 @@ template class std::numeric_limits> TEST_CASE("custom integer types") { - using json = nlohmann::basic_json < - std::map, std::vector, std::string, bool, - wrapped_int, wrapped_int, double, std::allocator >; + using my_json = nlohmann::basic_json < + std::map, std::vector, std::string, bool, + wrapped_int, wrapped_int, double, std::allocator >; std::string data = "[1,2,-3,-4]"; - json as_json = json::parse(data.begin(), data.end()); + my_json as_json = my_json::parse(data.begin(), data.end()); wrapped_int i1 = as_json[1]; wrapped_int i2 = as_json[2]; CHECK(i1 == wrapped_int(2));