mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-19 05:22:24 +02:00
Minor simplifications
This commit is contained in:
@ -30,20 +30,6 @@ namespace JsonGeneratorTests
|
||||
AssertJsonIs("[\"hello\"]");
|
||||
}
|
||||
|
||||
TEST_METHOD(AddOneStringContainingDoubleQuote)
|
||||
{
|
||||
arr.add("\"");
|
||||
|
||||
AssertJsonIs("[\"\\\"\"]");
|
||||
}
|
||||
|
||||
TEST_METHOD(AddOneStringContainingBackslash)
|
||||
{
|
||||
arr.add("\\");
|
||||
|
||||
AssertJsonIs("[\"\\\\\"]");
|
||||
}
|
||||
|
||||
TEST_METHOD(AddTwoStrings)
|
||||
{
|
||||
arr.add("hello");
|
||||
|
Reference in New Issue
Block a user