github.com/cockroachdb/pebble@v1.1.1-0.20240513155919-3622ade60459/metamorphic/testdata/parser (about)

     1  parse
     2  foo
     3  ----
     4  1:1: unable to parse objectID: "foo"
     5  
     6  parse
     7  "foo"
     8  ----
     9  1:1: unexpected token: STRING "\"foo\""
    10  
    11  parse
    12  db.bar()
    13  ----
    14  1:1: unknown op db.bar
    15  
    16  parse
    17  db.Apply()
    18  ----
    19  1:10: unexpected token: ")"
    20  
    21  parse
    22  db.Apply(hello)
    23  ----
    24  1:10: unable to parse objectID: "hello"
    25  
    26  parse
    27  db.NewBatch()
    28  ----
    29  1:1: assignment expected for db.NewBatch
    30  
    31  parse
    32  batch0 = db.Apply()
    33  ----
    34  1:10: cannot use db.Apply in assignment
    35  
    36  parse
    37  batch0 = db.NewBatch()
    38  batch0.First()
    39  ----
    40  2:1: batch0.First: First is not a method on batch0