cuelang.org/go@v0.10.1/cue/format/testdata/issue3291.txtar (about)

     1  -- file.input --
     2  A: true
     3  B: [
     4  	1, // this comment is fine
     5  	2, // this comment is fine
     6  	if A {
     7  		3 // this comment ends up touching its element
     8  	},
     9  	4, // this comment is fine
    10  ]
    11  -- file.golden --
    12  A: true
    13  B: [
    14  	1, // this comment is fine
    15  	2, // this comment is fine
    16  	if A {
    17  		3 // this comment ends up touching its element
    18  	},
    19  	4, // this comment is fine
    20  ]