cuelang.org/go@v0.13.0/tools/trim/testdata/defaults_can_remove_non-defaults.txtar (about) 1 # TODO: make this optional 2 -- in.cue -- 3 foo: [string]: a: *1 | int 4 foo: b: a: 1 5 -- out/trim-v3 -- 6 == in.cue 7 foo: [string]: a: *1 | int 8 foo: b: _ 9 -- diff/-out/trim-v3<==>+out/trim -- 10 diff old new 11 --- old 12 +++ new 13 @@ -1,3 +1,3 @@ 14 == in.cue 15 foo: [string]: a: *1 | int 16 -foo: b: {} 17 +foo: b: _ 18 -- out/trim-v3-noshare -- 19 == in.cue 20 foo: [string]: a: *1 | int 21 foo: b: _ 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 foo: [string]: a: *1 | int 29 -foo: b: {} 30 +foo: b: _ 31 -- out/trim -- 32 == in.cue 33 foo: [string]: a: *1 | int 34 foo: b: {}