blob: 0d3cbdf55b1586d2955d87dd32238bc6f8c40d80 [file] [log] [blame]
! cue vet -d '#File' vet.cue data.yaml
cmp stderr expect-stderr
-- expect-stderr --
translations.hello.lang: incomplete value string
field skip not allowed:
./data.yaml:16:1
./data.yaml:20:1
./vet.cue:1:1
./vet.cue:1:8
-- vet.cue --
#File: {
translations: [string]: {
lang: string
text: string
}
}
-- data.yaml --
# translated messages
translations:
hello:
lang: gsw
text: Grüetzi
---
translations:
hello:
text: Hoi
---
translations:
hello:
lang: no
text: Hallo
---
translations:
hello:
lang: nl
text: Hallo
skip: true