Skip to content

Commit 698da05

Browse files
mpvlmvdan
authored andcommitted
internal/core/adt: add tests for Issue 3535
The issue was already fixed in CL 1203000. Also add check to detect when a not allowed error is created for a field type that is always allowed. Create variants for various field types. Only the one with the regular field should fail. Fixes #3535 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Ib29dc3234ffd0a9adea8e7a9c45c90c012ac2506 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1203023 Reviewed-by: Daniel Martí <[email protected]> Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
1 parent 9f217e1 commit 698da05

File tree

2 files changed

+290
-20
lines changed

2 files changed

+290
-20
lines changed

0 commit comments

Comments
 (0)