diff --git a/test/src/unit-large_json.cpp b/test/src/unit-large_json.cpp
index b40ad99e..c39934a5 100644
--- a/test/src/unit-large_json.cpp
+++ b/test/src/unit-large_json.cpp
@@ -43,7 +43,8 @@ TEST_CASE("tests on very large JSONs")
         std::string s(2 * depth, '[');
         std::fill(s.begin() + depth, s.end(), ']');
 
-        CHECK_NOTHROW(nlohmann::json::parse(s));
+        json _;
+        CHECK_NOTHROW(_ = nlohmann::json::parse(s));
     }
 }