cue/format: add test for issue #4238
The formatter incorrectly places commas after inline comments in list
elements with ellipsis, e.g. `...string // comment` becomes
`...string // comment,` instead of `...string, // comment`.
For #4238
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I6b1b887195fce3255d88090fc4eb930f446f2f69
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1229756
Reviewed-by: Matthew Sackman <matthew@cue.works>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>