forked from bblanchon/ArduinoJson
Test with an empty array
This commit is contained in:
1 parent
380722402f
commit
e31a2136fc
1 file changed
+7
@@ -31,6 +31,13 @@ namespace JsonGeneratorTests
|
||||
outputMustBe("{}");
|
||||
}
|
||||
|
||||
TEST_METHOD(EmptyArray)
|
||||
{
|
||||
whenInputIs("[]");
|
||||
outputMustBe("[]");
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
|
||||
void whenInputIs(const char input[])
|
||||
|
||||
Reference in new issue
Block a user