fix: support integer keys when marshaling JSON

This commit is contained in:
iahsanGill
2026-08-13 01:36:17 +05:00
parent 1df43a9735
commit cd2fd71797
2 changed files with 6 additions and 14 deletions

View File

@@ -43,5 +43,5 @@ spec:
m := th.Run(".", th.MakeDefaultOptions())
_, err := m.AsYaml()
require.Error(t, err)
assert.Contains(t, err.Error(), "mapping key \"env\" already defined")
assert.Contains(t, err.Error(), "key \"env\" already set in map")
}