mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-18 04:52:22 +02:00
Added a test that appends an empty string
This commit is contained in:
@ -23,6 +23,16 @@ namespace JsonGeneratorTests
|
|||||||
assertResultIs("");
|
assertResultIs("");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_METHOD(AppendEmptyString)
|
||||||
|
{
|
||||||
|
append("");
|
||||||
|
assertResultIs("");
|
||||||
|
}
|
||||||
|
|
||||||
|
void append(const char* s)
|
||||||
|
{
|
||||||
|
sb->append(s);
|
||||||
|
}
|
||||||
|
|
||||||
void assertResultIs(const char* expected)
|
void assertResultIs(const char* expected)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user