hdx/vendor/cloud.google.com/go/firestore/testdata/set-del-wo-merge.textproto
Derek McQuay 59af8fc84f
initial commit
Signed-off-by: Derek McQuay <derekmcquay@gmail.com>
2018-04-10 19:17:26 -07:00

13 lines
527 B
Plaintext

# 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
>