We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1dff7f commit b239cb3Copy full SHA for b239cb3
packages/firestore/test/unit/model/path.test.ts
@@ -160,9 +160,9 @@ describe('Path', () => {
160
expect(abc.isPrefixOf(ba)).to.equal(false);
161
});
162
163
- it('escaped FieldPath with segments', () => {
164
- const path = new FieldPath(['foo.`bar`']);
165
- expect(path.canonicalString()).to.equal('`foo.\\`bar\\``');
+ it('escapes FieldPath with segments', () => {
+ const path = new FieldPath(['\\foo\\.`bar`']);
+ expect(path.canonicalString()).to.equal('`\\\\foo\\\\.\\`bar\\``');
166
167
168
it('can be constructed from field path.', () => {
0 commit comments