cmd/cue: test publishing a module with no major version suffix
Including what commands the user might try running and what they do.
Adding this scenario because I was surprised to see that the
"does not contain major version" error was only covered in unit tests,
and we had no coverage for what the user may do in this case.
As part of writing this test, I uncovered three surprising behaviors
which are now recorded as TODOs.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I11c07f1dd823b36c676d8597ae3d8cda9ae9f21c
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1195782
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Paul Jolly <paul@myitcv.io>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>