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