forked from bblanchon/ArduinoJson
Test with an empty array
This commit is contained in:
@ -31,6 +31,13 @@ namespace JsonGeneratorTests
|
|||||||
outputMustBe("{}");
|
outputMustBe("{}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_METHOD(EmptyArray)
|
||||||
|
{
|
||||||
|
whenInputIs("[]");
|
||||||
|
outputMustBe("[]");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void whenInputIs(const char input[])
|
void whenInputIs(const char input[])
|
||||||
|
Reference in New Issue
Block a user