Mirror of https://github.com/cue-lang/cue cuelang.org
cue go
Something went wrong. Try again.
encoding/gocode: fix test master
As part of previous CL, I noticed that the expected validation didn't seem to be happening. It turned out that this was due to a mismatch in field names between Go type and CUE code. It would probably be better to use a definition here for typo-checking, but in the meantime, change the tests so they're actually checking what they intend to be checking. Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: I63d93f8ed81b29b3ed92bc728bc48f55a90e39ab Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1231503 TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Marcel van Lohuizen <mpvl@gmail.com>
Author Roger Peppe Date (Feb 18, 2026, 12:36 PM UTC) Commit 98ca6e35 98ca6e351afd15cd00401972c7b848024bc04b32 Parent b3d9ffc3 b3d9ffc3471a8bddc7d4b54ef8a42f911c3366b1