this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cmd/cue: fix spelling of CUE_EXPERIMENT for evalv2

To explicitly run a test against evalv2 we should spell
CUE_EXPERIMENT=evalv3=0. A naked CUE_EXPERIMENT= is brittle and
ambiguous, as it relies on the current default evaluator which we will
soon change.

Signed-off-by: Paul Jolly <paul@myitcv.io>
Change-Id: I71dc002a3adc55d17e36ee929ca036e2c280bf0c
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1205369
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>

+1 -1
+1 -1
cmd/cue/cmd/testdata/script/export_issue3616.txtar
··· 15 15 # But with evalv2, it's incorrectly allowed. i.e. the following cue export 16 16 # command should fail (with the error message in the inverted stderr 17 17 # expectation) but doesn't. 18 - env CUE_EXPERIMENT= 18 + env CUE_EXPERIMENT=evalv3=0 19 19 exec cue export --with-context -l '_input:' -l 'filename' x.cue data.json 20 20 ! stderr 'notAllowed: field not allowed' 21 21