You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd/cue: actually update the _gen.go.want gengotypes testscript files
We were doing `cmp foo.go foo.go` rather than `cmp foo.go foo.go.want`,
which always succeeded, and caused CUE_UPDATE=1 to not update the
"want" files at all.
Fix that, and update the generated files to actually reflect
what we do.
This stumped and annoyed me enough that I also sent a change to
testscript to make such silly mistakes an error:
rogpeppe/go-internal#295
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: If24c6e2439a828c9da7cf3028c61126e899bd96c
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1213229
Unity-Result: CUE porcuepine <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Roger Peppe <[email protected]>
0 commit comments