mod/modregistrytest: add metadata capability
We want the ability to predicate some behavior on the metadata uploaded
with a module, so add the capability to specify module metadata inside
mod/modregistrytest.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: I934b4aaf004b0ac9e2ca6e03c37b3fc0d2cc581c
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1235499
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>