Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Dec 16, 2021
1 parent d59b28a commit eb13a86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/firestore/src/index/ordered_code_writer.ts
Expand Up @@ -16,7 +16,6 @@
*/
import { debugAssert } from '../util/assert';


/** These constants are taken from the backend. */
const MIN_SURROGATE = '\uD800';
const MAX_SURROGATE = '\uDBFF';
Expand Down
Expand Up @@ -139,7 +139,7 @@ describe('Ordered Code Writer', () => {
verifyOrdering(STRING_TEST_CASES);
});

function verifyEncoding(testCases: Array<ValueTestCase<unknown>>) : void {
function verifyEncoding(testCases: Array<ValueTestCase<unknown>>): void {
for (let i = 0; i < testCases.length; ++i) {
const bytes = getBytes(testCases[i].val);
expect(bytes.asc).to.deep.equal(
Expand All @@ -153,7 +153,7 @@ describe('Ordered Code Writer', () => {
}
}

function verifyOrdering(testCases: Array<ValueTestCase<unknown>>) : void {
function verifyOrdering(testCases: Array<ValueTestCase<unknown>>): void {
for (let i = 0; i < testCases.length; ++i) {
for (let j = i; j < testCases.length; ++j) {
const left = testCases[i].val;
Expand Down

0 comments on commit eb13a86

Please sign in to comment.