mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 08:48:27 +01:00
Test with a missing closing quote
This commit is contained in:
@@ -41,6 +41,12 @@ TEST_F(QuotedString_ExtractFrom_Tests, NoQuotes) {
|
|||||||
resultMustBe(0);
|
resultMustBe(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_F(QuotedString_ExtractFrom_Tests, MissingClosingQuote) {
|
||||||
|
whenInputIs("\"hello world");
|
||||||
|
|
||||||
|
resultMustBe(0);
|
||||||
|
}
|
||||||
|
|
||||||
TEST_F(QuotedString_ExtractFrom_Tests, EmptySingleQuotedString) {
|
TEST_F(QuotedString_ExtractFrom_Tests, EmptySingleQuotedString) {
|
||||||
whenInputIs("''");
|
whenInputIs("''");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user