Added a test that adds a empty nested array in an array

This commit is contained in:
Benoît Blanchon
2014-06-25 13:28:56 +02:00
parent 4c387e9062
commit b8df795cb5
3 changed files with 21 additions and 8 deletions

View File

@ -102,18 +102,15 @@ namespace JsonGeneratorTests
AssertJsonIs("[false,true]");
}
/*
TEST_METHOD(AddOneEmptyNestedArray)
{
JsonArray<0> nestedArray;
JsonArray<1> nestedArray;
arr.add(nestedArray);
AssertJsonIs("[[]]");
}
*/
void AssertJsonIs(const char* expected)
{
char buffer[256];