diff --git a/test/QuotedString_ExtractFrom_Tests.cpp b/test/QuotedString_ExtractFrom_Tests.cpp index a170bf9c..cf9661c0 100644 --- a/test/QuotedString_ExtractFrom_Tests.cpp +++ b/test/QuotedString_ExtractFrom_Tests.cpp @@ -41,6 +41,12 @@ TEST_F(QuotedString_ExtractFrom_Tests, NoQuotes) { resultMustBe(0); } +TEST_F(QuotedString_ExtractFrom_Tests, MissingClosingQuote) { + whenInputIs("\"hello world"); + + resultMustBe(0); +} + TEST_F(QuotedString_ExtractFrom_Tests, EmptySingleQuotedString) { whenInputIs("''");