diff --git a/test/src/unit-udt.cpp b/test/src/unit-udt.cpp index f270fdc4..a6c538eb 100644 --- a/test/src/unit-udt.cpp +++ b/test/src/unit-udt.cpp @@ -730,6 +730,6 @@ TEST_CASE("Issue #924") // Prevent get>() to throw auto j = json::array(); - (void) j.get(); - (void) j.get>(); + CHECK_NOTHROW(j.get()); + CHECK_NOTHROW(j.get>()); }