Commit 452fbae
committed
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í <[email protected]>
Change-Id: I6b1b887195fce3255d88090fc4eb930f446f2f69
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1229756
Reviewed-by: Matthew Sackman <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>1 parent beae55b commit 452fbae
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
176 | 184 | | |
177 | 185 | | |
178 | 186 | | |
| |||
332 | 340 | | |
333 | 341 | | |
334 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
335 | 351 | | |
336 | 352 | | |
337 | 353 | | |
| |||
0 commit comments