cuelang.org/go@v0.10.1/encoding/protobuf/jsonpb/testdata/decoder/null.txtar (about)

     1  # TODO(fmt): first line in data.cue indented when it should not be: cuelang.org/issue/722
     2  
     3  -- schema.cue --
     4  a0: int
     5  a1: 1 | *2
     6  
     7  a2: string
     8  a3: "a" | *"b"
     9  
    10  a4: bytes
    11  a5: *'a' | 'b'
    12  
    13  a6: [...int]
    14  a7: *[0] | [...int]
    15  
    16  a8: bool
    17  a9: *true | false
    18  
    19  a10: null
    20  
    21  a11: null
    22  a12: null
    23  -- data.yaml --
    24  # comment a0
    25  a0: null
    26  
    27  # comment a1
    28  a1: null
    29  
    30  # comment a2
    31  a2: null
    32  
    33  # comment a3
    34  a3: null
    35  
    36  # comment a4
    37  a4: null
    38  
    39  # comment a5
    40  a5: null
    41  
    42  # comment a6
    43  a6: null
    44  
    45  # comment a7
    46  a7: null
    47  
    48  # comment a8
    49  a8: null
    50  
    51  # comment a9
    52  a9: null
    53  
    54  # comment a10
    55  a10: null
    56  
    57  -- data.cue --
    58  	// comment a0
    59  a0: null
    60  
    61  // comment a1
    62  a1: null
    63  
    64  // comment a2
    65  a2: null
    66  
    67  // comment a3
    68  a3: null
    69  
    70  // comment a4
    71  a4: null
    72  
    73  // comment a5
    74  a5: null
    75  
    76  // comment a6
    77  a6: null
    78  
    79  // comment a7
    80  a7: null
    81  
    82  // comment a8
    83  a8: null
    84  
    85  // comment a9
    86  a9: null
    87  
    88  // comment a10
    89  a10: null
    90  -- out/jsonpb/data.yaml --
    91  // comment a0
    92  a0: 0
    93  
    94  // comment a1
    95  a1: 2
    96  
    97  // comment a2
    98  a2: ""
    99  
   100  // comment a3
   101  a3: "b"
   102  
   103  // comment a4
   104  a4: ''
   105  
   106  // comment a5
   107  a5: 'a'
   108  
   109  // comment a6
   110  a6: []
   111  
   112  // comment a7
   113  a7: [0]
   114  
   115  // comment a8
   116  a8: false
   117  
   118  // comment a9
   119  a9: true
   120  
   121  // comment a10
   122  a10: null
   123  -- out/jsonpb/data.cue --
   124  // comment a0
   125  a0: 0
   126  
   127  // comment a1
   128  a1: 2
   129  
   130  // comment a2
   131  a2: ""
   132  
   133  // comment a3
   134  a3: "b"
   135  
   136  // comment a4
   137  a4: ''
   138  
   139  // comment a5
   140  a5: 'a'
   141  
   142  // comment a6
   143  a6: []
   144  
   145  // comment a7
   146  a7: [0]
   147  
   148  // comment a8
   149  a8: false
   150  
   151  // comment a9
   152  a9: true
   153  
   154  // comment a10
   155  a10: null