mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 20:42:24 +02:00
Added a test that adds a 'false' to an array
This commit is contained in:
@ -71,6 +71,13 @@ namespace JsonGeneratorTests
|
||||
AssertJsonIs("[true]");
|
||||
}
|
||||
|
||||
TEST_METHOD(AddFalse)
|
||||
{
|
||||
arr.add(false);
|
||||
|
||||
AssertJsonIs("[false]");
|
||||
}
|
||||
|
||||
void AssertJsonIs(const char* expected)
|
||||
{
|
||||
char buffer[256];
|
||||
|
Reference in New Issue
Block a user