mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
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