Test empty nested arrays

This commit is contained in:
Benoit Blanchon committed 2014-08-25 11:01:22 +02:00
1 parent dbc3bee3a0
commit 981adf1989
2 files changed
+24 -2

No files matched your search

@@ -44,6 +44,16 @@ namespace JsonGeneratorTests
"]");
}
TEST_METHOD(EmptyNestedArrays)
{
whenInputIs("[[],[]]");
outputMustBe(
"[\n"
" [],\n"
" []\n"
"]");
}
private:
void whenInputIs(const char input[])