mirror of
https://github.com/nlohmann/json.git
synced 2025-07-22 15:21:52 +03:00
fixed #304
This commit is contained in:
@ -443,6 +443,15 @@ TEST_CASE("regression tests")
|
||||
CHECK(at_integer == val_integer);
|
||||
}
|
||||
|
||||
SECTION("issue #304 - Unused variable warning")
|
||||
{
|
||||
// code triggered a "warning: unused variable" warning and is left
|
||||
// here to avoid the warning in the future
|
||||
json object;
|
||||
json patch = json::array();
|
||||
object = object.patch(patch);
|
||||
}
|
||||
|
||||
SECTION("issue #306 - Parsing fails without space at end of file")
|
||||
{
|
||||
for (auto filename :
|
||||
|
Reference in New Issue
Block a user