Test array with 2 elements

This commit is contained in:
Benoit Blanchon
2014-08-25 10:55:48 +02:00
parent 3f2b7b706a
commit dbc3bee3a0

View File

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