forked from bblanchon/ArduinoJson
Added a test of one string over hash table's capacity
This commit is contained in:
1 parent
e26cea59e5
commit
5f77949636
2 files changed
+9
-1
No files matched your search
@@ -29,6 +29,14 @@ namespace JsonGeneratorTests
|
||||
jsonIs("{\"key1\":\"value1\",\"key2\":\"value2\"}");
|
||||
}
|
||||
|
||||
TEST_METHOD(OneStringOverCapacity)
|
||||
{
|
||||
add("key1", "value1");
|
||||
add("key2", "value2");
|
||||
add("key3", "value3");
|
||||
jsonIs("{\"key1\":\"value1\",\"key2\":\"value2\"}");
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in new issue
Block a user