Moved to CUE validation

This commit is contained in:
Martino Ferrari
2026-01-23 11:16:06 +01:00
parent 5c3f05a1a4
commit 5853365707
15 changed files with 511 additions and 477 deletions

View File

@@ -38,7 +38,7 @@ func TestMDSWriterValidation(t *testing.T) {
found := false
for _, d := range v.Diagnostics {
if strings.Contains(d.Message, "Missing mandatory field 'TreeName'") {
if strings.Contains(d.Message, "TreeName: incomplete value") {
found = true
break
}
@@ -71,7 +71,7 @@ func TestMathExpressionGAMValidation(t *testing.T) {
found := false
for _, d := range v.Diagnostics {
if strings.Contains(d.Message, "Missing mandatory field 'Expression'") {
if strings.Contains(d.Message, "Expression: incomplete value") {
found = true
break
}