mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-06 10:04:43 +08:00
Handle scalars in property files
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user