fixed #304
This commit is contained in:
parent
2daab5a4c2
commit
f922426ec3
3 changed files with 11 additions and 2 deletions
|
@ -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 :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue