internal/cuetxtar: document new @test directives
This documents some new features ahead of their
implementation (next CLs in the stack).
Update cue/testdata/readme.md and
doc/specs/inline-test-attributes/spec.md
to cover the directives added in
recent commits:
- err: args=[...] sub-option
(order-independent subset check on
Msg() arguments)
- err: suberr=(...) sub-option
(two-pass matching for multi-error
values)
- shareID=name inside @test(eq,{...})
bodies (first-occurrence rule:
eq check runs on first, skipped on
subsequent; pointer-identity
assertion for all)
- out/errors.txt behavior matrix:
replace CUE_CHECK=1 with
CUE_UPDATE=diff throughout
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I353d66c74a5ba4c9792b44d3fc1c93684820ecda
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1234699
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>