✅ improved test coverage
This commit is contained in:
parent
4c4f60f438
commit
de75cf89f7
3 changed files with 38 additions and 3 deletions
|
|
@ -1305,4 +1305,12 @@ TEST_CASE("regression tests")
|
|||
j = {{"nocopy", n}};
|
||||
CHECK(j["nocopy"]["val"] == 0);
|
||||
}
|
||||
|
||||
SECTION("issue #843 - converting to array not working")
|
||||
{
|
||||
json j;
|
||||
std::array<int, 4> ar = {1, 1, 1, 1};
|
||||
j = ar;
|
||||
ar = j;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue