mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 12:32:17 +02:00
Added a test that adds a null in a hash table
This commit is contained in:
@ -44,6 +44,13 @@ namespace JsonGeneratorTests
|
||||
jsonIs("{\"pi\":3.14}");
|
||||
}
|
||||
|
||||
TEST_METHOD(OneNull)
|
||||
{
|
||||
add("key", (char*)0);
|
||||
|
||||
jsonIs("{\"key\":null}");
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
template<typename T>
|
||||
|
Reference in New Issue
Block a user