doc/ref: start testing code blocks which we expect to fail parsing
This is a first taste of code blocks which expect some output,
in which case a failure with errors, and having the test update
the spec.md file accordingly.
We use an HTML comment immediately following the code block,
almost like this is a testscript where we have the annotation to show
the intent of the code block, the code block itself with the input,
and then the result of the operation.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ia551b291b7c383fb943ab6681bc7951d55465068
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1232220
Reviewed-by: Marcel van Lohuizen <mpvl@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>