Fixed scalar encoding for HCL

This commit is contained in:
Mike Farah
2025-12-16 14:22:50 +11:00
parent 626624af7b
commit ac2889c296
2 changed files with 12 additions and 1 deletions
+8
View File
@@ -325,6 +325,14 @@ var hclFormatScenarios = []formatScenario{
expected: "# Configuration\nport = 8080\n",
scenarioType: "roundtrip",
},
{
description: "Roundtrip: extraction",
skipDoc: true,
input: simpleSample,
expression: ".shouty_message",
expected: "upper(message)\n",
scenarioType: "roundtrip",
},
{
description: "Roundtrip: With templates, functions and arithmetic",
input: simpleSample,