internal/cuetxtar: simplify regression guard for @test(eq) mismatches
Previously, CUE_UPDATE=1 on a failing @test(eq) would annotate it with
skip:<ver> and diff="..." to keep the test passing while tracking the
discrepancy. This was confusing and overloaded CUE_UPDATE=1.
New semantics:
- CUE_UPDATE=1 + failure: the test just fails (no modification)
- CUE_UPDATE=force + failure: annotates with skip:<ver> only (no diff=)
- CUE_UPDATE=1 + skip:<ver> now passes: removes the skip annotation
Remove the unused diff= annotation format and the CUE_UPDATE=diff mode
reference from the handleErrorsTxtSection comment.
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I1175f547d44a144698d7c4f27a0c830b782ddd9a
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1234943
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>