Handle scalars in property files

This commit is contained in:
Mike Farah
2023-03-27 13:51:08 +11:00
parent ac5346b138
commit 1b0a62d08d
2 changed files with 13 additions and 0 deletions
+8
View File
@@ -162,6 +162,14 @@ var propertyScenarios = []formatScenario{
expected: "mike: ${dontExpand} this\n",
scenarioType: "decode",
},
{
description: "print scalar",
skipDoc: true,
input: "mike = cat",
expression: ".mike",
expected: "cat\n",
scenarioType: "roundtrip",
},
{
description: "Roundtrip",
input: expectedPropertiesUnwrapped,