internal/tdtest: mimic replacement of testing.Run in Select
This allows the select string to be the same as the subtest name.
This is only an approximation, as testing.T.Run does more
rewriting.
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I36290242264d831b788fe9a5975210f5c1e4ba41
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1167817
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>