cuelang.org/go@v0.13.0/tools/trim/testdata/7.txtar (about)

     1  Simplification of implicit unification occurs as normal even within a
     2  pattern.
     3  
     4  -- a.cue --
     5  a: [string]: {
     6  	x: string
     7  	x: "hi"
     8  }
     9  -- out/trim-v3 --
    10  == a.cue
    11  a: [string]: {
    12  	x: "hi"
    13  }
    14  -- diff/-out/trim-v3<==>+out/trim --
    15  diff old new
    16  --- old
    17  +++ new
    18  @@ -1,5 +1,4 @@
    19   == a.cue
    20   a: [string]: {
    21  -	x: string
    22   	x: "hi"
    23   }
    24  -- out/trim-v3-noshare --
    25  == a.cue
    26  a: [string]: {
    27  	x: "hi"
    28  }
    29  -- diff/-out/trim-v3-noshare<==>+out/trim --
    30  diff old new
    31  --- old
    32  +++ new
    33  @@ -1,5 +1,4 @@
    34   == a.cue
    35   a: [string]: {
    36  -	x: string
    37   	x: "hi"
    38   }
    39  -- out/trim --
    40  == a.cue
    41  a: [string]: {
    42  	x: string
    43  	x: "hi"
    44  }