forked from bblanchon/ArduinoJson
Added a test of an empty object
This commit is contained in:
1 parent
030c8542e7
commit
380722402f
1 file changed
+6
@@ -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