mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-30 02:37:35 +02: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