cuelang.org/go@v0.13.0/tools/trim/testdata/do_not_remove_field_2.txtar (about) 1 A variant of do_not_remove_field, but with line 1 not embedded. 2 -- in.cue -- 3 [_]: x: "hello" 4 a: x: "hello" 5 -- out/trim-v3 -- 6 == in.cue 7 [_]: x: "hello" 8 a: _ 9 -- diff/-out/trim-v3<==>+out/trim -- 10 diff old new 11 --- old 12 +++ new 13 @@ -1,3 +1,3 @@ 14 == in.cue 15 [_]: x: "hello" 16 -a: {} 17 +a: _ 18 -- out/trim-v3-noshare -- 19 == in.cue 20 [_]: x: "hello" 21 a: _ 22 -- diff/-out/trim-v3-noshare<==>+out/trim -- 23 diff old new 24 --- old 25 +++ new 26 @@ -1,3 +1,3 @@ 27 == in.cue 28 [_]: x: "hello" 29 -a: {} 30 +a: _ 31 -- out/trim -- 32 == in.cue 33 [_]: x: "hello" 34 a: {}