forked from bblanchon/ArduinoJson
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