Fixing HCL non string key issue #2795

This commit is contained in:
Mike Farah
2026-08-19 13:50:42 +10:00
parent 5c302ee313
commit 6a182b6a30
3 changed files with 39 additions and 6 deletions
+1 -1
View File
@@ -369,7 +369,7 @@ var tomlScenarios = []formatScenario{
skipDoc: true,
description: "blank",
input: `A = "hello`,
expectedError: `bad file 'sample.yml': basic string not terminated by "`,
expectedError: `bad file 'sample.yml': unterminated basic string`,
scenarioType: "decode-error",
},
{