Skip to content

Commit ba55b20

Browse files
committed
fix linting
1 parent 7101725 commit ba55b20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,17 +223,17 @@ test('reconstructs an index from SharedArrayBuffer', () => {
223223
});
224224

225225
test('quicksort should work with an inbalanced dataset', () => {
226-
const n = 15000
227-
const index = new Flatbush(2*n);
226+
const n = 15000;
227+
const index = new Flatbush(2 * n);
228228

229229
function linspace(start, stop, num, endpoint = true) {
230230
const div = endpoint ? (num - 1) : num;
231231
const step = (stop - start) / div;
232232
return Array.from({length: num}, (_, i) => start + step * i);
233233
}
234234

235-
const items = linspace(0, 1000, n)
236-
const items2 = linspace(0, 1000, n)
235+
const items = linspace(0, 1000, n);
236+
const items2 = linspace(0, 1000, n);
237237

238238
for (const p of items) {
239239
index.add(p, 0, p, 0);

0 commit comments

Comments
 (0)