cmd/cue: replace MainTest entrypoint with testing.Testing
On Go tip on linux/amd64, this slightly increases the size of cmd/cue
binaries from 27418181 bytes to 27439100, where that ~20KiB represents
a 0.07% increase over the current size of ~27MiB.
Importing the testing package doesn't seem like a concern in itself,
given that this is just the cmd/cue/cmd package.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ie881ae302c77fa9e9c0b3608662ca3767a64156b
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1188432
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Paul Jolly <paul@myitcv.io>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>