internal/cuetxtar: auto-promote @test(eq:todo) under CUE_UPDATE master
When @test(eq:todo, X) now matches, queue a writeback that strips the :todo qualifier so CUE_UPDATE=1 / CUE_UPDATE=force rewrites the source to @test(eq, X). Plain `go test` runs remain silent (the existing -v WARNING log is preserved); the signal that a todo can be retired lives in the source diff produced by CUE_UPDATE rather than in test output, where it could be mistaken for a failure by tooling that scans the test log for "FAIL". A todo that still fails is left untouched, as before. Adds testdata/inline/eq_todo_promote.txtar covering both the passing-promote and still-failing-no-op paths. Updates testdata/inline/todo.txtar's expected post-update source to reflect the promotion of its eqTodoPassing case. Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: I24ea2ee11fb73f89cef0ace4f254ba0e8c5d72a2 Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1236925 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>