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
internal/core/adt: obey internal/core/cuedebug defaults in TestEval
TestEval and TestEvalAlpha were hard-coding cuedebug.Config values,
meaning that they didn't stay in sync with the defaults set by
the cuedebug package via struct field tags.
As such, until very recently, cmd/cue and Go API users of evalv3
were using openinline=1 as a default via cuedebug, but TestEvalAlpha
was ignoring that default and running all tests with openinline=0.
Follow the defaults, and allow overriding it if #openInline is present
at the top of the txtar file. We only override the value if such a line
exists, as otherwise we always replace the default value.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: Ia004c216cbea5f0124d61abd76d9f893e98d2e99
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1211946
Unity-Result: CUE porcuepine <[email protected]>
Reviewed-by: Marcel van Lohuizen <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
0 commit comments