Skip to content

Commit 0c6bd90

Browse files
committed
format
1 parent f8c91ee commit 0c6bd90

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

packages/firestore/src/model/path.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
* limitations under the License.
1616
*/
1717

18+
import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
19+
1820
import { debugAssert, fail } from '../util/assert';
1921
import { Code, FirestoreError } from '../util/error';
20-
import { Integer } from '@firebase/webchannel-wrapper/bloom-blob';
2122

2223
export const DOCUMENT_KEY_NAME = '__name__';
2324

packages/firestore/test/integration/api/database.test.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2262,10 +2262,10 @@ apiDescribe('Database', persistence => {
22622262
'__id1_': { a: 1 },
22632263
// max safe integer +1, +2
22642264
'__id9007199254740992__': { a: 1 },
2265-
'__id9007199254740993__': { a: 2 },
2265+
'__id9007199254740993__': { a: 1 },
22662266
// smallest long numbers
2267-
'__id-9223372036854775808__': { a: 3 },
2268-
'__id-9223372036854775807__': { a: 4 }
2267+
'__id-9223372036854775808__': { a: 1 },
2268+
'__id-9223372036854775807__': { a: 1 }
22692269
};
22702270

22712271
return withTestCollection(persistence, testDocs, async collectionRef => {
@@ -2313,10 +2313,10 @@ apiDescribe('Database', persistence => {
23132313
'__id1_': { a: 1 },
23142314
// max safe integer +1, +2
23152315
'__id9007199254740992__': { a: 1 },
2316-
'__id9007199254740993__': { a: 2 },
2316+
'__id9007199254740993__': { a: 1 },
23172317
// smallest long numbers
2318-
'__id-9223372036854775808__': { a: 3 },
2319-
'__id-9223372036854775807__': { a: 4 }
2318+
'__id-9223372036854775808__': { a: 1 },
2319+
'__id-9223372036854775807__': { a: 1 }
23202320
};
23212321

23222322
return withTestCollection(persistence, testDocs, async collectionRef => {
@@ -2363,10 +2363,10 @@ apiDescribe('Database', persistence => {
23632363
'__id1_': { a: 1 },
23642364
// max safe integer +1, +2
23652365
'__id9007199254740992__': { a: 1 },
2366-
'__id9007199254740993__': { a: 2 },
2366+
'__id9007199254740993__': { a: 1 },
23672367
// smallest long numbers
2368-
'__id-9223372036854775808__': { a: 3 },
2369-
'__id-9223372036854775807__': { a: 4 }
2368+
'__id-9223372036854775808__': { a: 1 },
2369+
'__id-9223372036854775807__': { a: 1 }
23702370
};
23712371

23722372
return withTestCollection(

0 commit comments

Comments
 (0)