Remove support of unquoted keys

This commit is contained in:
Benoit Blanchon
2014-10-22 11:54:33 +02:00
parent 316d036785
commit d70ff26164
3 changed files with 35 additions and 16 deletions

View File

@ -37,6 +37,13 @@ TEST_F(QuotedString_ExtractFrom_Tests, EmptyDoubleQuotedString)
trailingMustBe("");
}
TEST_F(QuotedString_ExtractFrom_Tests, NoQuotes)
{
whenInputIs("hello world");
resultMustBe(0);
}
TEST_F(QuotedString_ExtractFrom_Tests, EmptySingleQuotedString)
{
whenInputIs("''");