evaluator: add regression test to lock in evalv3 wrt #3567
With evalv3, we correctly get an error about the nested call to
strings.Join missing a second argument. With evalv2, the error is
swallowed and we incorrectly get a success exit code and confusingly
zero output.
Fixes #3567.
Signed-off-by: Paul Jolly <paul@myitcv.io>
Change-Id: I12a6e7c31b829800dfce839c4e0f193f32ec38a9
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1205366
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>