Skip to content

Commit 2e84dcc

Browse files
authored
Update test.firestore.js
Add missing START/END for ends_with
1 parent b8556d3 commit 2e84dcc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

firestore-next/test.firestore.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2306,13 +2306,15 @@ describe("firestore-pipelines", () => {
23062306
}
23072307

23082308
async function endsWithFunction() {
2309+
// [START ends_with]
23092310
const result = await execute(db.pipeline()
23102311
.collection("inventory/devices/laptops")
23112312
.select(
23122313
field("name").endsWith("16 inch")
23132314
.as("16InLaptops")
23142315
)
23152316
);
2317+
// [END ends_with]
23162318
console.log(result);
23172319
}
23182320

@@ -2598,4 +2600,4 @@ describe("firestore-pipelines", () => {
25982600
// [END vector_length]
25992601
console.log(result);
26002602
}
2601-
});
2603+
});

0 commit comments

Comments
 (0)