forked from bblanchon/ArduinoJson
Added a test of an empty object
This commit is contained in:
@ -25,6 +25,12 @@ namespace JsonGeneratorTests
|
||||
outputMustBe("");
|
||||
}
|
||||
|
||||
TEST_METHOD(EmptyObject)
|
||||
{
|
||||
whenInputIs("{}");
|
||||
outputMustBe("{}");
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
void whenInputIs(const char input[])
|
||||
|
Reference in New Issue
Block a user