Skip to content

Commit cc296ac

Browse files
committed
added test case
1 parent 6f9d8dd commit cc296ac

File tree

1 file changed

+13
-0
lines changed
  • packages/google-cloud-firestore/tests/system/pipeline_e2e

1 file changed

+13
-0
lines changed

packages/google-cloud-firestore/tests/system/pipeline_e2e/map.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,3 +494,16 @@ tests:
494494
assert_results:
495495
- hugoAward: true
496496
title: Dune
497+
- description: testGetFieldWithMap
498+
pipeline:
499+
- Collection: books
500+
- Limit: 1
501+
- Select:
502+
- AliasedExpression:
503+
- FunctionExpression.get_field:
504+
- Map:
505+
elements: {"foo": "bar"}
506+
- "foo"
507+
- "foo_value"
508+
assert_results:
509+
- foo_value: "bar"

0 commit comments

Comments
 (0)