ceremonyclient/pebble/metamorphic/testdata/parser

41 lines
516 B
Plaintext
Raw Normal View History

2024-01-03 07:31:42 +00:00
parse
foo
----
1:1: unable to parse objectID: "foo"
parse
"foo"
----
1:1: unexpected token: STRING "\"foo\""
parse
db.bar()
----
1:1: unknown op db1.bar
parse
db.Apply()
----
1:10: unexpected token: ")"
parse
db.Apply(hello)
----
1:10: unable to parse objectID: "hello"
parse
db.NewBatch()
----
1:1: assignment expected for db1.NewBatch
parse
batch0 = db.Apply()
----
1:10: cannot use db1.Apply in assignment
parse
batch0 = db.NewBatch()
batch0.First()
----
2:1: batch0.First: First is not a method on batch0