transfer.sh/vendor/cloud.google.com/go/firestore/testdata/set-del-wo-merge.textproto

13 lines
527 B
Text
Raw Normal View History

# DO NOT MODIFY. This file was generated by
# github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
# Without a merge option, Set replaces the document with the input data. A Delete
# sentinel in the data makes no sense in this case.
description: "set: Delete cannot appear unless a merge option is specified"
set: <
doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
json_data: "{\"a\": 1, \"b\": \"Delete\"}"
is_error: true
>